Viewing 15 posts - 46 through 60 (of 212 total)
Awesome question! Thanks.
May 3, 2012 at 7:12 am
I guess it may depend on what sort of process(es) are kicked off in the batch...if they are able to be executed asynchronously, as with a stored proc execution, then...
May 2, 2012 at 1:13 pm
Didn't read closely enough. You are using SQL 2000 - no EXCEPT operator. I'd use UNION. 🙂
May 2, 2012 at 12:04 pm
I'd create a linked server from SQL Server to the Oracle server, then compare database tables using EXCEPT or UNION.
May 2, 2012 at 12:02 pm
The "Be made using the login's current security context" option means that the linked server will use the current Windows credentials, and log into SQL Server using Windows Authentication. ...
April 26, 2012 at 8:51 am
I think it won't delete backups that were made from a different backup job, but I could be wrong. If it won't, you can create a cleanup script to...
April 25, 2012 at 3:35 pm
Yes, so do you want to force all data from table B to 20 char length? What exactly do you want?
April 25, 2012 at 3:12 pm
Yes. If the maintenance job is backing up directly to your "secure" directory, then it will purge .bak files older than 7 days.
April 25, 2012 at 3:08 pm
What do you mean 'is it possible to fix it'? Do you want to force the data to be inserted in spite of being truncated? I think the...
April 25, 2012 at 3:06 pm
I don't think you really need a 'running total' if visits are just incremented by 1. You could set up a trigger, or just use something like this for...
April 25, 2012 at 1:23 pm
I don't think this is exactly what you're looking for, but it might point you in the right direction:
http://stackoverflow.com/questions/1285686/excel-use-a-cell-value-as-a-parameter-for-a-sql-query
April 24, 2012 at 8:57 am
So you want to set up xp_cmdshell to work for non-admin users? This page shows how to do it using sp_xp_cmdshell_proxy_account:
April 9, 2012 at 10:10 am
If you want a running history, I'd use a SQL Job and pull data from sys.databases on a daily basis into a custom table. Then you can query that...
April 9, 2012 at 9:55 am
I assume that using the two statements together is kind of a safety mechanism; creating the FK WITH NO CHECK guarantees that the creation of the constraint will not be...
March 30, 2012 at 2:43 pm
Viewing 15 posts - 46 through 60 (of 212 total)