Viewing 15 posts - 47,296 through 47,310 (of 49,571 total)
If all the rows cast to datetime without an error, then you can ignore that warning and change the data type.
Take a backup of the data first, of course, just...
February 26, 2008 at 12:39 pm
Matt Miller (2/26/2008)
True with one caveat - ORDER BY during an insert would guarantee the values doled out by any Identity field in the destination table.
True. I always forget...
February 26, 2008 at 12:36 pm
Rather don't shrink the database. If you truncate the table then the empty space in the DB can be reused by future inserts.
If you shrink the DB, it just...
February 26, 2008 at 12:30 pm
Look up convert. There should be an appropriate style that you can use to convert the date into a datetime. Once it's in a datetime, you can convert it back...
February 26, 2008 at 11:53 am
Only 431 has sims. All the others are case studies and multiple choice.
February 26, 2008 at 11:40 am
Check the cluster logs and the event logs to see if you can find a reason for the service to fail over.
Agent XPs are always switched to 0 as a...
February 26, 2008 at 11:36 am
Order by in an insert have no meaning, and if you don't specify the order in a select, no order is guaranteed.
Rather do it this way.
insert into #table
select * from...
February 26, 2008 at 11:35 am
It they're written badly, they can be.
Personally, I've not found views to be a problem, unless there are layers upon layers of views. If views reference other views which reference...
February 26, 2008 at 11:29 am
What's the data type of the column?
If it's datetime, it doesn't have a format. The format of a datetime is solely due to the way it's queried.
February 26, 2008 at 11:29 am
I'm guessing Jeff has something like this in mind. It's not a pivot, it's a concatenation and all the values will appear in one column.
DECLARE @ConcatB VARCHAR(8000)
SET @ConcatB = ''
SELECT...
February 26, 2008 at 11:21 am
Why.... ????
February 26, 2008 at 11:20 am
If you restored a 2000 database onto 2005, you need to update all the statistics. SQL 2005 keeps more detailed stats than SQL 2000 did. The 2005 optimiser can use...
February 26, 2008 at 1:28 am
What method are you usind to see what's been excuted?
February 25, 2008 at 10:21 pm
Create the login with a matching SID and you should be good to go.
February 25, 2008 at 10:10 pm
You mean how to match up the newly created login with the database user?
Fairly easy. The link between a login and the database user is the SID. You can...
February 25, 2008 at 12:48 pm
Viewing 15 posts - 47,296 through 47,310 (of 49,571 total)