Viewing 15 posts - 5,866 through 5,880 (of 7,187 total)
What nobody's mentioned so far is that non-natural keys (ie identity columns) create uniqueness, but they don't enforce it. So if your table is CustomerStateID IDENTITY PRIMARY KEY, CustomerID,...
April 23, 2009 at 3:20 am
Thanks Bob - very close! You're right, it would be interesting to vary the tests in the way you suggest, and also to try out other mathematical functions that...
April 22, 2009 at 8:54 am
Bob Hovious (4/19/2009)
The CASE state is going to outperform the absolute value trick every time.
Bob
Are you sure about this? I've done some testing:
SET STATISTICS TIME ON
SET NOCOUNT ON
SET STATISTICS...
April 22, 2009 at 4:04 am
Judy
From the link you posted:
[font="Tahoma"]Locking pages in memory is not required on 64-bit operating systems.[/font]
You shouldn't need to use AWE in a 64-bit environment.
John
Edit: I've reread your post and...
April 8, 2009 at 2:01 am
Not as far as I know, since, according to Books Online, this counter measures the "Total number of times the transaction log for the database has been expanded". I...
March 9, 2009 at 8:21 am
Pierrick
You can use the dtsrun utility to run your DTS package.
John
March 9, 2009 at 8:08 am
vijaysingh (3/4/2009)
I can help you to find the particular word which are used in sp's
select p.name,m.definition from sys.sql_modules m
Inner join sys.procedures p on p.object_id=m.object_id
where m.definition LIKE '%User%'--Pass the word...
March 5, 2009 at 6:53 am
If you really want to do this then I think the only way is to put the work in and create an "audit" or "history" table for each "primary" table,...
March 4, 2009 at 9:44 am
It's better to use sys.sql_modules instead of syscomments, since, with the latter, there's the danger that the text you are searching for will be split between rows if your object...
March 4, 2009 at 9:35 am
1. Yes. You should assume that any kind of attack is possible and secure your systems accordingly.
2. Not necessarily. Again, assume the worst, and read up...
March 4, 2009 at 9:25 am
Here's a way of doing it in T-SQL. Obviously it won't work if the SQL Server service itself isn't running!
EXEC master.dbo.xp_servicecontrol 'QUERYSTATE', 'SQLAgent'
John
February 27, 2009 at 8:44 am
Thanks, guys. I was really only interested in SQL Server permissions, so what Markus says sounds like what I need. Can anyone else confirm or deny it at...
February 2, 2009 at 2:48 am
Bear in mind also that the DMVs are cleared down not only when SQL Server restarts, but also when databases undergo certain changes of state, such as to or from...
November 25, 2008 at 8:26 am
That's another limitation of Andy's method from which mine doesn't suffer - you can't make updates directly to the system tables on SQL Server 2005.
John
September 28, 2008 at 2:53 am
Someguy (8/19/2008)
September 1, 2008 at 9:55 am
Viewing 15 posts - 5,866 through 5,880 (of 7,187 total)