Viewing 15 posts - 6,316 through 6,330 (of 7,191 total)
SELECT @@SERVERNAME should do it.
John
August 31, 2007 at 8:40 am
Your insert statement is acquiring a lock on your table, which isn't released because the transaction hasn't been committed or rolled back. That's why you get a timeout when your...
August 31, 2007 at 7:53 am
I think you can use a trigger. If there's an insert or delete, you'll want to audit that, because a whole row will have been affected. If there's an update,...
August 31, 2007 at 7:49 am
You can't do anything like that with SQL authentication in SQL Server 2000. Your only options are to use Windows authentication or to upgrade to SQL Server 2005.
John
August 31, 2007 at 5:00 am
Fun and games! I'm afraid you're also going to have to drop any foreign key constraints that reference your primary key, and recreate them afterwards.
John
August 30, 2007 at 4:41 am
So please show us what you've tried so far and we'll see how we can help. We're not going to give you the answer on a plate, though.
John
August 30, 2007 at 2:53 am
So you want to change your primary key index from clustered to non-clustered? I don't think you can - a clustered index has a totally different structure from a non-clustered...
August 30, 2007 at 2:49 am
Kris
You might lose a little in efficiency, but what you'd gain is knowing that the integrity of your data is intact. What happens if someone has more than three favourite...
August 30, 2007 at 1:29 am
It shouldn't do. If it fails over it's because there's a problem with one of the cluster resources... you should ask the sysadmin to investigate this.
John
August 29, 2007 at 8:31 am
Imke
If your SQL Server cluster resource fails over in the middle of the backup, then the backup is bound to fail, since the resource will go offline momentarily. Why is...
August 29, 2007 at 3:41 am
No need to ask the same question more than once. Answered here:
http://www.sqlservercentral.com/forums/post.aspx?forumid=5&messageid=394583
August 29, 2007 at 3:36 am
You need to create a user in each database the login needs access to, then make that user a member of the necessary role (eg ddl_admin).
John
August 29, 2007 at 3:35 am
Kris
Since each user can have more than one favourite food, and each food can be favoured by more than one user, you need to create a junction table. Try something...
August 29, 2007 at 1:28 am
Graeme
You say you have many such triggers. Do any of them have DELETE statements in? It looks as if one of them might be inserting a large number of rows...
August 23, 2007 at 8:46 am
Viewing 15 posts - 6,316 through 6,330 (of 7,191 total)