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

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

  7. How to declare variable and use it in the same Oracle SQL script ...

    The question is about to use a variable in a script means to me it will be used in SQL*Plus. The problem is you missed the quotes and Oracle can not parse the value to number.

  8. 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, 9 months ago Viewed 1.1m times

  9. reading external sql script in python - Stack Overflow

    Oct 20, 2013 · I am working on a learning how to execute SQL in python (I know SQL, not Python). I have an external sql file. It creates and inserts data into three tables 'Zookeeper', 'Handles', 'Animal'. …

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