About 21,500,000 results
Open links in new tab
  1. Add Data or Log Files to a Database - SQL Server

    Jan 22, 2024 · Learn how to add data or log files to a database in SQL Server 2019 by using SQL Server Management Studio or Transact-SQL.

  2. How to Add a Data File to a SQL Server Database (T-SQL)

    May 26, 2018 · You can add data files (and log files) to a database at a later date if required. This article contains examples of using T-SQL to add a data file to an existing database in SQL …

  3. ALTER DATABASE File and Filegroups - SQL Server (Transact-SQL)

    Oct 17, 2024 · Modifies the files and filegroups associated with the database. Adds or removes files and filegroups from a database, and changes the attributes of a database or its files and …

  4. Different methods to attach SQL Server MDF files - SQL Shack

    This article explains types of database files (MDF, NDF and LOG files) and different ways to attach the database to SQL Server instance using both SSMS and T-SQL.

  5. Add file and filegroup SQL server | How to? - Bobcares

    Oct 27, 2022 · This article shows on how to Add file and filegroup SQL server. Database has two operating system files: the data file, and the log file.

  6. Additional Data Files and Proportional Fill - SQLServerCentral

    Feb 11, 2013 · When more data is added to the files, Extended Events shows how SQL Server spreads data across multiple files. Additional files can be added to to a database to increase …

  7. How to insert the contents of a text file into a table in SQL Server

    Jul 9, 2010 · Have you tried using the SQL Server Import and Export Wizard? Go into SQL Server Management Studio. In Object Explorer, right click the database then Tasks > Import Data....

  8. Attach a Database - SQL Server | Microsoft Learn

    Aug 10, 2023 · This article describes how to attach a database in SQL Server with SQL Server Management Studio or Transact-SQL. You can use this feature to copy, move, or upgrade a …

  9. SQL SERVER – Adding File to Database in AlwaysOn Availability …

    Aug 8, 2015 · This means that ADD FILE operation will be executed on Secondary servers. Using below code, I have added the file to drive E on Primary Instance. USE [master] GO ALTER …

  10. Insert file into SQL field and extract back into file

    Apr 16, 2019 · You can insert a file content to a field with help LOAD_FILE function. For example: INSERT INTO see_me (file_contents) VALUES (LOAD_FILE('/var/lib/mysql-files/myfile.txt')); …

  11. Some results have been removed
Refresh