Viewing 15 posts - 481 through 495 (of 517 total)
Hawkeye_DBA (8/20/2010)
Hi Perry,Msg 15600, Level 15, State 1, Procedure sp_change_users_login, Line 207
An invalid parameter or option was specified for procedure 'sys.sp_change_users_login'.
Just wanted to mention that this error shows up when...
August 20, 2010 at 12:05 pm
When I was first learning SQL, I had to google a million things a day. I actually still do look things up, every single day without fail.
Answers to this kind...
August 20, 2010 at 10:22 am
The one data file per cpu rule of thumb mostly applies to TempDB.
I'll address that first....It is typically not a good idea to have the tempdb data files and log...
August 20, 2010 at 10:10 am
If you do SET ROWCOUNT ON before you run it (which is the default..so as long as you don't set it to Off), it should display the number of rows...
August 20, 2010 at 9:54 am
Hah 🙂
Actually ninja's code was very good...I've never really had a case where I needed to use reverse(), but now I bet I can find some. I had always just...
August 19, 2010 at 3:36 pm
Try this:
DECLARE @STR VARCHAR(250)
set @STR = '\\IP_Address\DirName\DirName\DirName\twProcessDB_20100819173001.trn'
SELECT LEFT(@str, LEN(@str) - CHARINDEX('\', reverse(@str), 1))
This gets everything up to the last \ in the string.
August 19, 2010 at 3:32 pm
If all the SP does is update the table, why give them access to it in the first place?
August 19, 2010 at 3:25 pm
Check the ANSI server settings
edit: This is weird and I think there's some missing info. Can you post a screenshot of both results please?
August 19, 2010 at 12:46 pm
Perry Whittle (8/19/2010)
SQL_Padre (8/19/2010)
August 19, 2010 at 12:14 pm
Whoops, my fault.
That was supposed to be FROM DISK not FROM FILE
Not nearly enough caffeine yet today..sorry about that.
August 19, 2010 at 12:11 pm
Setting up the cluster in 2008 is almost identical to 2003, except that a few names are changed and moved around.
You still create an empty group, add disks to that...
August 19, 2010 at 11:43 am
So are you trying to just restore a copy of the DB onto this server from the backup?
If so and you already created it with the data files in the...
August 19, 2010 at 10:57 am
Unfortunately this isn't possible.
You can run the command:
DENY VIEW ANY DATABASE TO [login]
But that will hide all databases besides the ones that that user is the owner of (actual db...
August 19, 2010 at 10:54 am
Have you tried just using a linked server instead of openquery? They are handled differently by the engine.
August 19, 2010 at 10:41 am
Open the Failover Cluster Manager
Right click Services and Applications -> More Actions -> Create Empty Service or Application
Name it whatever you want, add your disks, then install SQL to it.
August 19, 2010 at 10:33 am
Viewing 15 posts - 481 through 495 (of 517 total)