Forum Replies Created

Viewing 15 posts - 47,296 through 47,310 (of 49,571 total)

  • RE: datetime problem

    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...

  • RE: tempdb order by issue

    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...

  • RE: Question about maintenance job

    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...

  • RE: datetime problem

    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...

  • RE: 70-444 exam format

    Only 431 has sims. All the others are case studies and multiple choice.

  • RE: Configuration of Agent XP brings down server

    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...

  • RE: tempdb order by issue

    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...

  • RE: Are Views Slow ?

    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...

  • RE: datetime problem

    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.

  • RE: Complex (??) Query

    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...

  • RE: Select Query on SQL 2005 takes 100 times more than on SQL 2000

    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...

  • RE: why would 'create procedure' run?

    What method are you usind to see what's been excuted?

  • RE: Database snapshot permissions on a mirror

    Create the login with a matching SID and you should be good to go.

  • RE: Database snapshot permissions on a mirror

    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...

Viewing 15 posts - 47,296 through 47,310 (of 49,571 total)