Viewing 15 posts - 631 through 645 (of 1,065 total)
I'm sure I've successfully added files to a database before, and they have been propagated by log shipping.
Does the same drive letter/folder for the filegroup exist on the secondary server?
June 16, 2009 at 8:07 am
Despite the attitude, I'll add my 2p worth.
You can't install from within SMO, but from within Visual Studio, you can create a process to call the SQL Express bootstapper, and...
June 16, 2009 at 6:40 am
What command are you using to shrink the database?
I suspect you are using DBCC SHRINKDB, which will not shrink the database file smaller than the original allocation size, which I...
June 16, 2009 at 2:23 am
How to get that info somewhere when a user logs in to the sql server management console is what Im looking for.
Look at SQL Profiler and the Login Event
June 12, 2009 at 6:39 am
You can use a case statement e.g.
...
ORDER BY
CASE @sortby
WHEN 'FirstName' THEN u.FirstName
WHEN 'LastName' THEN u.LastName
...
end
If you are going to provide the ability to sort on columns that have...
June 12, 2009 at 5:01 am
Select host_name() should give you the name of the workstation initiating the connection.
Note... if this is a web application, then the connection will be initiated from the web server, so...
June 12, 2009 at 4:48 am
The SQL being run by sp_executesql is executed in a different process to the rest of your script, so @docTable isn't available to sp_executesql.
You will need to include the creation...
June 12, 2009 at 4:40 am
3. Am I right that select ______ from _____with (NoLock) read uncommitted data too?
Yes it will read uncommitted data
From BOL
NOLOCK Do not issue shared locks and do not honor...
June 10, 2009 at 2:02 am
They are both publisher and subscriber.
For this case:-
On cluster 1 two databases are published on to secondary cluster.
Cluster 1 is the publisher and cluster 2 is the subscriber
For this...
June 10, 2009 at 1:57 am
That is exactly what I would expect, as that is the character representation of the hex string i.e. Hex DE is "Þ", Hex FE is "þ" etc.
select convert(char(16),0x50515253545556575859606162636465)
would yield...
June 9, 2009 at 7:43 am
If you prefix the guid with 0x, you can convert it to a char, i.e.:-
select convert(char(16),0xDEFE4787AC2D4351BDA6FFCA07CC0D00)
June 9, 2009 at 7:04 am
As far as I'm aware, there is no issue with installing different version if SQL on a cluster, and you don't even have to do them in any particular sequence.
I...
June 5, 2009 at 6:57 am
but OR or AND didn't do the trick
Why didn't they do the trick, this should work
WHERE (@Show4 = 'y' AND ID = 4) or (@show4 'y'...
June 5, 2009 at 6:49 am
Right click Jobs, click All Tasks, Generate SQL Script.
That will script all the jobs on the server.
June 5, 2009 at 2:07 am
I think you actually need to use:-
Select * from [MYTABLE] where [MYCOLUMN]= [dbo].[the Function I created for Encryption]('THE VALUE')
June 4, 2009 at 1:43 am
Viewing 15 posts - 631 through 645 (of 1,065 total)