Viewing 15 posts - 226 through 240 (of 358 total)
Here is what I do to find orphaned users and sync the logins.
http://www.sqlservercentral.com/articles/Log+Shipping/63028/
Remember you need to have the logins created in the master database in order to be...
August 2, 2008 at 9:39 pm
If the data is always in this format this should work.
declare @tst Varchar(6)
Set @tst = '280908'
Select cast(substring(@tst,3,2) + '/' + left(@tst,2) + '/' + right(@tst,2) as datetime)
What is the datatype...
July 25, 2008 at 4:34 am
You should be able to cast it.
declare @tst varbinary(20)
Set @tst = 0x74657374
Select cast(@tst as varchar(20))
July 23, 2008 at 5:23 am
If the value is NULL you can use ISNULL. If it is blank spaces you can use the Case statement.
Declare @tst char(10)
Set @tst = NULL
Select ISNULL(@tst,0)
Set @tst = ' ...
July 22, 2008 at 7:23 pm
Can you provide a little more information? What are you trying to do?
July 22, 2008 at 7:09 pm
Lewis,
The Dynamic Management Views are not available in SQL 2000, but I agree if you are using 2005 DMV's are the way to go.
July 22, 2008 at 4:50 am
You should still be able to connect to the expired server from another instance. I would connect and take a full backup of ALL the databases including the system...
July 21, 2008 at 8:25 pm
It sounds like you need to sync your logins.
http://www.sqlservercentral.com/articles/Log+Shipping/63028/
July 21, 2008 at 2:45 pm
These are the steps I use.
July 21, 2008 at 10:38 am
I have always had to uninstall and reinstall if the evaluation has already expired.
July 21, 2008 at 6:50 am
Here is an article that explains how to perform a dynamic pivot.
http://www.simple-talk.com/community/blogs/andras/archive/2007/09/14/37265.aspx
July 18, 2008 at 11:45 pm
philcart (7/18/2008)
How about using fn_get_sql instead of dbcc inputbuffer? That way the sql statement won't be truncated. 😉
Here is the fn_get_sql version, but it will strip out any statement that...
July 18, 2008 at 8:50 am
The code from the article does not copy/paste correctly, so I am posting it here. I have noticed that if you paste it into Word or Open Office it...
July 17, 2008 at 8:21 pm
Here are a couple of links that may help.
http://www.sqlteam.com/article/search-and-replace-in-a-text-column
July 17, 2008 at 5:16 pm
You can use the UPDATETEXT method.
http://msdn.microsoft.com/en-us/library/ms189466.aspx
Or cast the text as varchar(8000)
Update dbo.navigation_content
Set ...
July 17, 2008 at 4:55 pm
Viewing 15 posts - 226 through 240 (of 358 total)