Viewing 15 posts - 286 through 300 (of 629 total)
Check out ..
http://www.sqlservercentral.com/articles/SQLServerCentral/sqlserver2005logontriggers/2366/
This shows how to use notification services to setup login alerts/auditing.
Thanks.
Mohit.
March 23, 2009 at 6:20 pm
I agree with Noel, I provided the links. But if you were willing to post your queries, and execution plan I am sure someone here can help you out...
March 23, 2009 at 1:53 pm
Another argument I like to use for not giving Server operations/Network operations access to SQL Server is it makes it hard to manage the server. When there are databases,...
March 23, 2009 at 1:52 pm
I see ..
It is usually easier to provide an answer if you provide a CREATE TABLE and sample data .. If you can do that I might be...
March 23, 2009 at 1:37 pm
I think he might be referring to the MARK function in the "BEGIN TRANSACTION"; which can be used for recovery and such.
However I have never tried to set MARK while...
March 23, 2009 at 12:53 pm
Do you get an error when trying to get a listing? If so can you please paste that here?
What permissions does the security role have? Can it be...
March 23, 2009 at 12:50 pm
The DMVs for missing indexes are not without fault; because you got to realize that these information is correct only until last recycle of you server. And the DMV...
March 23, 2009 at 12:47 pm
Actually in 2005 ..
Simply this will give you that information also 🙂
SELECT * FROM sys.databases
Look for column Recovery_Model_Desc.
Thanks.
March 23, 2009 at 12:40 pm
If field B is an integer then you can use ...
SELECT A, MAX(B) AS B
FROM Table
GROUP BY A
Thanks.
March 23, 2009 at 11:29 am
When executing dynamic SQL, you need to use
EXEC (@SQLStatement)
Those brackets tell SQL Server it is not a store procedure call.
Thanks.
March 23, 2009 at 11:18 am
Urg. Correct; sorry must have been running low on caffeine. Sorry for the mix-up ..
Mohit.
March 23, 2009 at 11:16 am
I am not quite understanding what you mean ...
Are you saying you prefer to install it using Command Prompt instead of the installer interface SQL comes with?
Mohit.
March 23, 2009 at 11:14 am
Not with SQL Server.. but you can do this:
Restore the database in another database with different name.
Drop Table (or truncate)
Recreate table (if dropped)
Then copy all the information over.
Thanks.
March 22, 2009 at 10:06 pm
From BOL:
DBCC CHECKDB
[
[ ( database_name | database_id | 0
[ , NOINDEX
...
March 22, 2009 at 7:36 pm
yulichka (3/22/2009)
Hi,Thank you, I have couple questions:1. So in order for me to run to repair db, I need:
DBCC CHECKDB (Julia) WITH ALL_ERRORMSGS, NO_INFOMSGS
This is not repair so you can...
March 22, 2009 at 7:17 pm
Viewing 15 posts - 286 through 300 (of 629 total)