Viewing 15 posts - 19,126 through 19,140 (of 39,961 total)
1. Yes, connect to the server as an administrator, issue the BACKUP DATABASE command in T-SQL.
2. No, any client will work, but you only get one connection. If you use...
July 20, 2010 at 11:43 am
Michael,
Thanks for that note. I had read that comment, and didn't get the point across in the editorial. The SAN guys deliberately put less disk behind the LUN. It definitely...
July 20, 2010 at 8:34 am
Keep the trigger small and tight to avoid performance stuff, and make sure you write the trigger for multiple rows. Don't set variables to values.
Not this:
...
select @pk = PKID from...
July 20, 2010 at 8:33 am
Gail has given a great explanation. There is no BEFORE trigger. The create trigger...for update is the same as the AFTER syntax.
July 20, 2010 at 8:26 am
Sorry, no, modify the data in a table.
If I have Customers:
Create table Customers( Customer varchar(20))
go
insert Customers select 'Acme'
union select 'Brad'
go
Now I want to change the Customer name to "Smith" and...
July 19, 2010 at 4:52 pm
You guys are killing me. More work, then karate before I can even think about BBQ.
July 19, 2010 at 4:48 pm
I saw Fat Red's on Memphis Beat. Is that a real place?
July 19, 2010 at 4:23 pm
do what? stop jobs? just call sp_start_job. You can read about the parameters in Books Online. Same for sp_start_job.
You can schedule this to run, and here's a short discussion of...
July 19, 2010 at 4:18 pm
If you modify a table, the trigger runs after the modification is done, but before it is committed.
July 19, 2010 at 4:04 pm
George is correct in that each log file backup has different information. The log backup takes all active log records that are committed and copies them to thebackup.
There is no...
July 19, 2010 at 4:03 pm
You can check the default trace for the information. If not too much time has passed, it should have the time in it.
http://www.sqlservercentral.com/articles/64547/
Otherwise, take the log backup, try restoring to...
July 19, 2010 at 4:02 pm
If you are post SP2, there should be a checkbox to mark subfolders as existing for each database. Or are these not named for the databases?
July 19, 2010 at 4:02 pm
You can create unique indexes on these fields, that do not need to be PKs or FKs.
July 19, 2010 at 3:58 pm
The stopping/restarting could pontentially be done in T-SQL as well (Sp_start_job, sp_stop_job).
However be sure that if you re-run packages that they can restart themselves without issue and not do the...
July 19, 2010 at 2:48 pm
I agree with bt if you can rewrite all code to use stored procs.
If you want to be 100% sure, or can't change code, use a trigger. Be sure you...
July 19, 2010 at 2:47 pm
Viewing 15 posts - 19,126 through 19,140 (of 39,961 total)