Viewing 15 posts - 151 through 165 (of 498 total)
I agree with Andy, buld a small exe and have it do the processing. Just have your trigger put a record into a table that the exe looks at for...
February 9, 2004 at 6:12 pm
I prefer to use a logging table instead. Simply insert the records into the logging table and then when you want to check the status select from the log table...
February 9, 2004 at 6:05 pm
The only way I know of to do this is to use xp_cmdshell and call osql. Rather than doing it this way I usually use a batch file to run...
February 9, 2004 at 1:03 pm
Fred,
I think we need more information on this. Are you saying that on Server1 you used SQL_Latin1_General_CP1_CI_AS as the default when you set up SQL? And that on Server2 you...
February 9, 2004 at 12:57 pm
I would do this with a couple of jobs. First create a backup device for your log, then create a job that will run your trans log backups (Look at "BACKUP"...
February 9, 2004 at 12:48 pm
I've never actually run across this. I wonder though if it is due to you not having a primary key on the table?
Can you script your table out for us...
February 9, 2004 at 12:40 pm
Look at sp_start_job and sp_stop_job. You should be able to start/stop the replication agent job with these.
February 9, 2004 at 12:34 pm
You might also look at using OPENDATSOURCE and simply inserting the data directly into an XLS file.
To retrieve data...
---------------------------------------------------------------------------------------------------------------------------------
-- TODO: Make sure to change the name/path of...
February 9, 2004 at 12:31 pm
Hmmm... Why do you say it is using too much tempdb? With all those subqueries I'm not surprised! As Ken stated it would be nearly impossible to do the analysis...
February 9, 2004 at 12:10 pm
Try something like this....
SET @var = REPLACE(@strWord,'''','''''')
Then build the rest of the string.
February 6, 2004 at 6:46 pm
If you return the results in Query Analyzer to a grid you can then save the results in CSV format. Unfortunately you can't save the column settings that way. Another...
February 6, 2004 at 6:41 pm
If Jonathan's suggestion doesn't work use xp_cmdshell and call osql with the command. BTW: That will also work even if you need to do it on another machine
February 4, 2004 at 2:00 am
I agree with Keith on this. I think I would make a new table or add a column so that the abreviation of the region could be mapped to the...
February 2, 2004 at 1:36 pm
Viewing 15 posts - 151 through 165 (of 498 total)