Viewing 15 posts - 5,101 through 5,115 (of 7,636 total)
john (10/23/2008)
October 23, 2008 at 9:46 pm
Jeff Moden (10/23/2008)
CHAR(3)? Do you mean CHAR(13)? 🙂
Nah, I've already got my Char(13)+Char(10)'s in the embedded line-breaks. Char(3) is Control-C. 😀
October 23, 2008 at 8:39 pm
Duplicate Post. Please do not cross-post.
Please direct all replies to http://www.sqlservercentral.com/Forums/Topic590891-8-1.aspx
October 23, 2008 at 8:21 pm
It occurs to me that this could be the perfect tool for posters who want to provide sample data to us for their questions.
October 23, 2008 at 3:45 pm
You might try this:
EXECUTE xp_cmdshell '"D:\Folder\Task.exe"
'
If that does not work, then try this:
Declare @dos varchar(4000)
Select @dos = '"D:\Folder\Task.exe"
' + Char(3) + '
'
EXECUTE xp_cmdshell @dos
Who...
October 23, 2008 at 3:42 pm
teekay (10/23/2008)
The SISS process updates/adds to the header and details table about 5000 rows every 30 seconds.
How much time does this import take every 30 seconds?
Please give us the...
October 23, 2008 at 3:33 pm
That does not mean that it is completed. It could be still hanging around trying to read command input from somewhere or something (that will never come, obviously). ...
October 23, 2008 at 3:26 pm
If you mean, summing for all of the rows, without any group by, then the easiest way is:SELECT SUM(A), SUM(B), SUM(C), SUM(A)+SUM(B)+SUM(C) FROM TABLE
October 23, 2008 at 3:22 pm
sognibene (10/23/2008)
... I also had to change r1.[Date] to D.[Date] in the final select.
Heh, you are correct. That was a logical error on my part.
October 23, 2008 at 3:15 pm
How do you know that the process actually completed, if it never returns?
October 23, 2008 at 3:09 pm
By the way, I would not use the " & Exit". It should not be necessary and it may be what is causing your problem.
October 23, 2008 at 2:42 pm
When I try to execute this I get "The system cannot find the path specified."
October 23, 2008 at 2:35 pm
Error code 50000 and up are "User-Defined Errors". Which means that they are not Microsoft's and they are coming from either your organizations own stuff, or from a 3rd...
October 23, 2008 at 2:25 pm
Brandie Tarvin (10/10/2008)
I've actually stumped people with simple backup & restore questions of all things. You'd think *that* particular subject matter would be basic to everyone's DBA knowledge.
You could probably...
October 23, 2008 at 1:50 pm
Viewing 15 posts - 5,101 through 5,115 (of 7,636 total)