About 13,300,000 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 INSERT Script with values gathered from table

    Nov 20, 2012 · 62 I need to create a INSERT script in order to insert in another database the same data. If in SQL Server I select "Script table as > INSERT To" I can easily recreate the skeleton for the …

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

  4. SQL Server - stop or break execution of a SQL script

    Mar 19, 2009 · Is there a way to immediately stop execution of a SQL script in SQL server, like a "break" or "exit" command? I have a script that does some validation and lookups before it starts doing …

  5. Generate sql insert script from excel worksheet - Stack Overflow

    May 29, 2013 · I have a large excel worksheet that I want to add to my database. Can I generate an SQL insert script from this excel worksheet?

  6. SQL-Server: Is there a SQL script that I can use to determine the ...

    Script to check the Backup and Restore progress in SQL Server: Many times it happens that your backup (or restore) activity has been started by another Database Administrator or by a job, and you …

  7. Format SQL in SQL Server Management Studio - Stack Overflow

    Feb 13, 2020 · 345 Late answer, but hopefully worthwhile: The Poor Man's T-SQL Formatter is an open-source (free) T-SQL formatter with complete T-SQL batch/script support (any DDL, any DML), SSMS …

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

    May 12, 2017 · 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 …

  9. How can I schedule a job to run a SQL query daily?

    Mar 29, 2011 · I need to know how to make a SQL query run daily using a SQL Server Agent job, with minimum required configuration settings.

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