![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a very big sql script that I can not opne with Mangement Studio due to the size. What other tool can I use to execute this script? All it has are INSERT statements. Thanks, Ping |
#3
| |||
| |||
|
|
Hi, I have a very big sql script that I can not opne with Mangement Studio due to the size. What other tool can I use to execute this script? All it has are INSERT statements. Thanks, Ping |
#4
| |||
| |||
|
|
Thanks Russel. How about OSQL? |
#5
| |||
| |||
|
|
Pingx (Pingx (AT) discussions (DOT) microsoft.com) writes: Thanks Russel. How about OSQL? OSQL should work find too. The command line would be same as Russell posted. In addition, I would recommend that you use the -I option with both tools. This enables the setting QUOTED_IDENTIFIER which is default with other means of connection, and which is required for some functionality. Less source for confusion this way. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx |
#6
| |||
| |||
|
|
Thanks for your help. Pingx "Erland Sommarskog" wrote: Pingx (Pingx (AT) discussions (DOT) microsoft.com) writes: Thanks Russel. How about OSQL? OSQL should work find too. The command line would be same as Russell posted. In addition, I would recommend that you use the -I option with both tools. This enables the setting QUOTED_IDENTIFIER which is default with other means of connection, and which is required for some functionality. Less source for confusion this way. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx |
#7
| |||
| |||
|
|
Running the insert sql script in SQLCMD is a lot slower than running the same stateent in Management Studio, Is there any reason why? |
#8
| |||
| |||
|
|
Running the insert sql script in SQLCMD is a lot slower than running the same stateent in Management Studio, Is there any reason why? Ping "Pingx" wrote: Thanks for your help. Pingx "Erland Sommarskog" wrote: Pingx (Pingx (AT) discussions (DOT) microsoft.com) writes: Thanks Russel. How about OSQL? OSQL should work find too. The command line would be same as Russell posted. In addition, I would recommend that you use the -I option with both tools. This enables the setting QUOTED_IDENTIFIER which is default with other means of connection, and which is required for some functionality. Less source for confusion this way. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx |
#9
| |||
| |||
|
|
Hi, I have a very big sql script that I can not opne with Mangement Studio due to the size. What other tool can I use to execute this script? All it has are INSERT statements. Thanks, Ping |
![]() |
| Thread Tools | |
| Display Modes | |
| |