Viewing 15 posts - 1,936 through 1,950 (of 2,904 total)
According to BOL, CAST does not accept a STYLE input. Only CONVERT accepts a STYLE input.
-SQLBill
June 25, 2004 at 10:08 am
Did you do a backup to the device using SQL Server commands?
Is the device seen by your hardware (computer/server)? Right click on the My Computer icon, select Manage, select Device...
June 24, 2004 at 11:44 am
Shrinking a file depends on WHERE the free space is actual located. A log file tends to look like this: (code A = active I = inactive)
A I I A A...
June 24, 2004 at 11:41 am
Steve's solution may not actually work...I believe the first bracket has to be after the period.
So:
Select * from dbo[.631586971108797504]
should really be:
Select * from dbo.[631586971108797504]
I know it's just symantics and...
June 24, 2004 at 11:34 am
By the way, SET DATEFORMAT does not change the way the date is saved in SQL Server, nor the way it is displayed.
All it does is say: "SQL Server, when...
June 24, 2004 at 6:33 am
At the beginning of your script just tell SQL Server how it is to interpret the date data.
How do you do that? Easy. Lets say your format is day, month,...
June 24, 2004 at 6:30 am
Ouch! No backup? Really? Too bad. You really need to have a backup to be able to recover.
One other POSSIBLE solution. Lumigent makes a product that can read the transaction...
June 24, 2004 at 6:24 am
Look in the Books OnLine for Orphaned Users. I believe the command you want is sp_revokelogin.
-SQLBill
June 22, 2004 at 1:47 pm
Okay, back to step one....
When you installed MSDE you were required to provide a password for SA. Did you do so? If not then it is blank. SA is the...
June 21, 2004 at 12:30 pm
Why make so much work? Use the DBCC DBREINDEX command and put it into a job.
See the BOL for more information on DBCC DBREINDEX.
-SQLBill
June 21, 2004 at 12:27 pm
Why aren't you just doing this:
WHERE DLZ_EMAIL.DATE_DEB <= GETDATE()'
-SQLBill
June 21, 2004 at 11:10 am
Yes...according to the BOL you can have a UNIQUE column as long as only one NULL exists.
You can also combine two columns to make one unique constraint.
-SQLBill
June 21, 2004 at 11:00 am
I prefer to do them manually. And as I said, there are exceptions - some very experienced DBAs use maintenance plans, some very inexperienced DBAs create their own plans.
I believe...
June 21, 2004 at 10:55 am
I have heard (at this site and other tech sites) that the 'new' server has to have the same level of patches as the 'old' server.
So if it's coming from...
June 21, 2004 at 8:15 am
WHERE DLZ_EMAIL.DATE_DEB <=' + cast(GETDATE() as varchar)
That is comparing a DATETIME value (date_deb) with a VARCHAR.
Why are you casting GETDATE() to a VARCHAR and then...
June 21, 2004 at 8:12 am
Viewing 15 posts - 1,936 through 1,950 (of 2,904 total)