May 31, 2015 at 4:19 pm
Comments posted to this topic are about the item Command Prompt Utility
May 31, 2015 at 4:20 pm
I use this utility quite often to call procs from sql. Scored 1 mark.
Thanks.
June 1, 2015 at 2:01 am
It's perhaps worth noting that this utility is to be removed in a future SQL Server version according to this MSDN page. The suggestion is to use sqlcmd in new work, which also uses ODBC when invoked from the command line.
June 1, 2015 at 4:02 am
Easy one for me, as I encountered it at a client a few years back. Converting scripts to use SQLCMD instead gave a big performance boost.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
June 1, 2015 at 5:01 am
A simple way to start the week. Thanks.
June 1, 2015 at 5:13 am
This was removed by the editor as SPAM
June 1, 2015 at 8:14 am
D_A_Green (6/1/2015)
It's perhaps worth noting that this utility is to be removed in a future SQL Server version according to this MSDN page. The suggestion is to use sqlcmd in new work, which also uses ODBC when invoked from the command line.
FWIW - it is still there in 2016 (at least at the moment CTP2 since that is what is available).
It also looks like this utility is gonna be like profiler and the text data type. Both of those (for example) have been deprecated for a long time like osql and are also still present in 2016.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
June 1, 2015 at 8:42 am
Not a good question. The command line utilities using ODBC are SQLCMD and BCP and the deprecated OSQL. In fact BCP and SQLCMD are the two traditionally classed as ODBC utilities. If both BCP and OSQL are to be on the list of options qw should have tick boxes and have to select 2 answers. If only one answer is allowd, the other correct answers ought not to be on the list.
Tom
June 1, 2015 at 9:06 am
TomThomson (6/1/2015)
Not a good question. The command line utilities using ODBC are SQLCMD and BCP and the deprecated OSQL. In fact BCP and SQLCMD are the two traditionally classed as ODBC utilities. If both BCP and OSQL are to be on the list of options qw should have tick boxes and have to select 2 answers. If only one answer is allowd, the other correct answers ought not to be on the list.
Thanks Tom, I thought BCP was an ODBC utility... thought I was going crazy. :crazy:
I found this:
"The bcp utility is written by using the ODBC bulk-copy"
June 1, 2015 at 9:08 am
I agree with TomThomson - This msdn page says "The bcp utility is written by using the ODBC bulk-copy".
I'd say that means it does indeed use an ODBC connection to the database.
https://msdn.microsoft.com/en-us/aa337544.aspx
Be still, and know that I am God - Psalm 46:10
June 1, 2015 at 10:56 am
sestell1 (6/1/2015)
TomThomson (6/1/2015)
Not a good question. The command line utilities using ODBC are SQLCMD and BCP and the deprecated OSQL. In fact BCP and SQLCMD are the two traditionally classed as ODBC utilities. If both BCP and OSQL are to be on the list of options qw should have tick boxes and have to select 2 answers. If only one answer is allowd, the other correct answers ought not to be on the list.Thanks Tom, I thought BCP was an ODBC utility... thought I was going crazy. :crazy:
I found this:
"The bcp utility is written by using the ODBC bulk-copy"
I'm glad someone agrees with me - sometimes I think I'm getting old and forgetful about some of this stuff.
It's also interesting that a default SQL Server 2014 install puts BCP.exe (and SQLCMD.exe) into C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn - the fact that they are in a subfolder below the ODBC folder rather gives the game away. And yes, that's for SQL Server 2014, despite the 110 instead of 120 - see https://msdn.microsoft.com/en-us/library/ms143547%28v=sql.120%29.aspx.
Tom
June 1, 2015 at 11:37 am
Thanks.
June 1, 2015 at 11:38 am
D_A_Green,
Ok, I agree your sugestion.
June 1, 2015 at 11:39 am
Hi Ed,
Yes, like, thanks for comment.
June 1, 2015 at 11:40 am
Hi TomThompson,
At any time I am suggesting the use of this utility.
Thanks for comments.
Regards.
Viewing 15 posts - 1 through 15 (of 20 total)
You must be logged in to reply to this topic. Login to reply