About 50 results
Open links in new tab
  1. How to run sql script using SQL Server Management Studio?

    Apr 22, 2012 · 29 Open SQL Server Management Studio > File > Open > File > Choose your .sql file (the one that contains your script) > Press Open > the file will be opened within SQL Server …

  2. Create SQL script that create database and tables

    Apr 24, 2011 · 23 In SQL Server Management Studio you can right click on the database you want to replicate, and select "Script Database as" to have the tool create the appropriate SQL file to replicate …

  3. Generate script in SQL Server Management Studio - Stack Overflow

    Feb 24, 2012 · 46 If I have a table with data in a database in SQL Server, how can I generate a script that will create the table and add the data too? If I right click on the table then select Script Table As …

  4. How do I ignore ampersands in a SQL script running from SQL Plus?

    Sep 22, 2008 · I have a SQL script that creates a package with a comment containing an ampersand (&). When I run the script from SQL Plus, I am prompted to enter a substitute value for the string …

  5. database - Need help understanding the difference between a script ...

    Oct 12, 2012 · A SQL script is nothing but when, you save a bunch of SQL statements (select, insert delete, update etc) in a file.

  6. How to get script of SQL Server data? - Stack Overflow

    SQL Server Management Studio This is your best tool for performing this task. You can generate a script that will build whichever tables you wish from a database as well as insert the data in those …

  7. Using variables within a dynamic sql script - Stack Overflow

    Jul 28, 2021 · Using variables within a dynamic sql script Asked 4 years, 6 months ago Modified 4 years, 6 months ago Viewed 2k times

  8. How do I see active SQL Server connections? - Stack Overflow

    Aug 8, 2009 · I am using SQL Server 2008 Enterprise. I want to see any active SQL Server connections, and the related information of all the connections, like from which IP address, connect to which …

  9. sql server - SQL-script: How to write ALTER statements to set Primary ...

    SQL-script: How to write ALTER statements to set Primary key on an existing table? Asked 13 years, 6 months ago Modified 1 year, 8 months ago Viewed 1.1m times

  10. Converting Select results into Insert script - SQL Server

    I have SQL Server 2008, SQL Server Management Studio. I need to select data from a table in one database and insert into another table in another database. How can I convert the returned results fr...