Viewing 15 posts - 16,336 through 16,350 (of 39,827 total)
OCTom (4/19/2011)
April 19, 2011 at 8:24 am
Craig Farrell (4/19/2011)
April 19, 2011 at 8:21 am
First, backing up to the network is not recommended. You usually want to back up locally and then copy to the network.
Second, permissions on a drive/folder is a Windows function,...
April 18, 2011 at 8:57 am
Apologies, I think this is it: http://www.red-gate.com/products/sql-development/sql-source-control/assets/video/2011-03-29%2016.02%20SQL%20Source%20Control%20Webinar%207%20_%20Continuous%20integration%20for%20end_to_end%20database%20development.wmv
April 18, 2011 at 8:44 am
Use Performance Monitor/ System Monitor, set up a trace that counts the number of users. For DML, you can get batch requests, which is likely close, but depending on the...
April 15, 2011 at 6:57 am
Part of your restore process will have to add the users back to the database.
April 15, 2011 at 6:48 am
Note when you start in single user mode and log into the SQL Server instance, you need to use a Windows Administrator account and you need a single connection application....
April 14, 2011 at 3:14 pm
These are old views, for compatibility purposes. Don't use them.
sysusers has been superseded by sys.database_principals (http://msdn.microsoft.com/en-us/library/ms187328.aspx)
syslogins has been superseded by sys.server_principals (http://msdn.microsoft.com/en-us/library/ms188786.aspx) and sys.sql_logins (http://msdn.microsoft.com/en-us/library/ms174355.aspx)
Logins exist at a server instance...
April 14, 2011 at 3:12 pm
your code would have to
a) know which value was deleted
b) use something like this:
set identity_insert tb_bill on
insert tb_bill (bill_no, Product_code, Pro_desc) select 3, 'ABC', 'Third product'
set identity_insert tb_bill off
If...
April 14, 2011 at 3:07 pm
It's not this simple. The more I dig into things, the less I think I understand on memory pressure and the many ways to detect it.
First, if total (what you...
April 14, 2011 at 1:44 pm
Johan is correct, you don't want a function on the column value or you don't use indexes and must scan the table.
For the time, people often do this:
where mydatevalue >=...
April 14, 2011 at 1:28 pm
Snow
Still coming down in CO, this after I was out running in a t-shirt yesterday
April 14, 2011 at 10:52 am
Part of the problem is the <>, which can make you scan the entire table. Plus this can be a large commit, lots of log space required, and more. Typically...
April 14, 2011 at 9:26 am
Craig Farrell (4/13/2011)
Steve Jones - SSC Editor (4/13/2011)
April 14, 2011 at 8:41 am
NTBackup should work, though you need to test. If you haven't restored to another machine, you are potentially not doing your due diligence. If you cannot restore those backups when...
April 14, 2011 at 8:38 am
Viewing 15 posts - 16,336 through 16,350 (of 39,827 total)