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. How to run .sql file in Oracle SQL developer tool to import database?

    Jul 22, 2015 · I have exported database from Oracle SQL developer tool into .sql file. Now I want to run this file which is of size 500+ MB. I read about running scripts here, but I didn't understand the way. Is...

  3. Execute SQL script from command line - Stack Overflow

    83 I need to alter a database using a batch file, for a simple example, drop a table. I´m using local SQL Express (SQL Server 2008 R2) with user sa and its password. How would the bat file be? How can I …

  4. 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 …

  5. 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 …

  6. How can I execute a set of .SQL files from within SSMS?

    May 8, 2009 · How could I execute a set of .SQL files (each does some data transformations) from within SQL Server Management Studio? What other alternative are there for executing .SQL files in …

  7. 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...

  8. 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 …

  9. 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.

  10. Run a PostgreSQL .sql file using command line arguments

    Mar 16, 2012 · I have some .sql files with thousands of INSERT statements in them and need to run these inserts on my PostgreSQL database in order to add them to a table. The files are that large …