Forum Replies Created

Viewing 15 posts - 48,886 through 48,900 (of 49,566 total)

  • RE: Changed from CHAR to VARCHAR, MDF increased in size?

    My guess is that the fields still contain the trailing spaces. Varchar doesn't trim trailing spaces, it just doesn't pad to full length.

    All the reindex would have done is...

  • RE: Statistics VS. Indexes

    Kalen Delaney and Kimberley Tripp have some good books/blogs/white papers on all this, or if they're running a presentation or course near you get yourself onto it to start to...

  • RE: Can multiple CPUs cause Primary Key Violations?

    What they may be talking about is the fact that on a multi-proc machine, sysprocesses can return more than one entry with the same spid (for a process that parallels...

  • RE: Log File is full

    The 'DBA's' have told me things like XYZ DB is much bigger then your DB and the log file is much smaller

    so, it MUST be something the users are doing

    only...

  • RE: Is there a way to save result of A DBCC to a table.

    You can insert, but only the DBCCs that return a single result set. Some return multiple result sets, some just return messages.

    For ShowContig this should work

    Insert into ....

    EXEC('DBCC ShowContig (''HumanResources.Employee'')...

  • RE: Statistics VS. Indexes

    Stats just give the distribution of data in the column, helping the optimiser make decisions on how to run the query.

    They do get out of date, but unless you're doing...

  • RE: openxml

    It's preferable if you don't cross post. People watch all the forums and cross posting means you get bits of answers in a couple places.

    As for your openXML, very...

  • RE: Cannot open user default database login failed

    I had this a week ago with a windows group that contained the sysadmins. Eventually traced it down to the fact that the default database for BUILTIN\Administrators was null (no...

  • RE: SQL Server 2005 Indexing

    The clustered vs non clustered decision is not an easy one.

    My personal preference is that every table have a clustered index unless I have a good reason not to....

  • RE: Log File is full

    When you set up a trace was it with the default options? If so, 40000 isn't that much in 10 min. On some of my servers I can generate a...

  • RE: Log File is full

    Sorry, I'm on course at the moment so replies are going to be occational.

    What did you trace? What I think would help, since you're getting this often, is have a...

  • RE: Log File is full

    Database backup at 13:36

    Database backup, or log backup? I guess the latter, since db backups don't truncate the log.

    I think what might be necessary at this point is to...

  • RE: Controversy in SQL 2005 & SQL 200 !!!!

    Row_Number is a new feature in 2005. there's no function in 2000 that does that.

    You can try top. Something like

    SELECT TOP 10

    phone_no,model,cur_version,

  • RE: After Insert Trigger

    You can get the details of the new rows from the inserted table. It will contain all the rows that were inserted by the statement that fired the trigger.

Viewing 15 posts - 48,886 through 48,900 (of 49,566 total)