Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
xhostx
Constraint Violating Yak Guru
277 Posts |
Posted - 2012-10-03 : 14:28:21
|
Hi all,I have written a script in TSQL, it does read some values from a registry of computer. I run it from windows command line. Sometimes, it keeps hanging on for a while and takes hours to continue.Please any hints or suggestions will be appreciated.Thanks,--------------------------Joins are what RDBMS's do for a living |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-10-03 : 15:28:45
|
do you mean using xp_cmdshell from t-sql?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
xhostx
Constraint Violating Yak Guru
277 Posts |
Posted - 2012-10-03 : 15:47:47
|
[code]well, sometimes I user xp_cmdshell or just within a .SQL file I write it like this:!!bcp ......etcI'm not sure if it hangs looking for data on the registry or is it something wrong with my way of writing TSQL!Thanks[/code]--------------------------Joins are what RDBMS's do for a living |
|
|
|
|
|