Viewing 10 posts - 31 through 40 (of 40 total)
As I can see I am not alone with my pain
Thanks to everyone!
I modified DTS manually on the new server and we will...
September 17, 2005 at 4:56 pm
Oh, yes! it was the OSQL ! Thank you people, you made me think!
osql -SServerName -dmsdb -i"d:\MSSQL\BACKUP\TEST\TESTScript_JOBS.txt" -E
and it worked
August 30, 2005 at 12:05 pm
Thanks to all!
The databases will be already on the new server and jobs will be modified a little manually after all (like the email operator or output file path).
The...
August 30, 2005 at 9:30 am
Need to create the job to run the script (script created already).
Have a problem to remember the command line - is it something with xp_cmdshell or ...?
Thanks!
August 30, 2005 at 6:12 am
Thank you! I did not look at that table at all, just checked sp_helpfile and sp_helpdb trying to find where the files name are coming from silly me
August 25, 2005 at 1:20 pm
and that LEN will confuse you here too:
DECLARE @val CHAR(2)
SET @val = 'D'
print 'copy c:\temp\test.txt' + @val + ':\temp\test.txt'
It will be 'D space' ...
August 23, 2005 at 10:07 am
Thank you very much! I did it and the GROUP worked!
I did not know about record count counting problem
May 5, 2005 at 1:38 pm
Went this far
select count(@@rowcount), sum(amount)
from TableName
Now - can we break the count(@@rowcount) for the Group By ?
count(@@rowcount)/3 is not good....
May 5, 2005 at 12:18 pm
OK, now I am thinking if the NumberOfTheWeek is too easy to perform this procedure. What if :
CustomerID Amount
12 5
56 12
51 45
123 47
456 63
125 2
10 55
If it needs to be...
May 5, 2005 at 12:12 pm
THANKS!
group by (numberoftheweek-1)/3 - worked perfect!
Now, Sergiy, why it's numberoftheweek-1? (because it starting to count from 0?)
May 5, 2005 at 8:54 am
Viewing 10 posts - 31 through 40 (of 40 total)