Forum Replies Created

Viewing 15 posts - 271 through 285 (of 1,409 total)

  • RE: Remove ---- from output file

    The '-------' below the column names is the seperator between the header and the data. You will have the same if you show your query results in text mode. If...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (11/17/2014)


    Not sure what went wrong this weekend. The spam process should kill everything within an hour, so I've asked to track down what's going on.

    Hi...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Are the posted questions getting worse?

    Stuart Davies (11/20/2014)


    Koen Verbeeck (11/20/2014)


    I have been nominated for the "Author of the Year" award at MSSQLTips.com.

    This means people have to vote for me (or other people, but preferable me):

    http://www.mssqltips.com/MSSQLTipsAuthorVoting.asp

    Note...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Are the posted questions getting worse?

    Koen Verbeeck (11/20/2014)


    I have been nominated for the "Author of the Year" award at MSSQLTips.com.

    This means people have to vote for me (or other people, but preferable me):

    http://www.mssqltips.com/MSSQLTipsAuthorVoting.asp

    Note that you...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Performance Trouble Shooting

    Without the queryplan there is not much we can do. Is the query itself well written? Is the query using the existing indexes in a efficient way (like: seek instead...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: How to maintain the threshold for each job on execution time in DB

    AFAIK some third party monitor applications are able to do what you need, although I don't have any experience with them.

    If you want to build your own solution you should...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Is SQL Profile able to provide resource usage stats?

    Has the amount of data increased over time? More data generally means more time to execute. If possible try archiving old data that is not needed anymore. Or seperate actual...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: I am new to SQL DBA and i have one question on disaster recovery.

    Beatrix Kiddo (11/17/2014)


    HanShi (11/17/2014)


    This looks like a (sample-)question for an exam. The answer is:

    Yeah- that's why I didn't want to spoon-feed the answer :-D.

    I hope the OP is learning from...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: I am new to SQL DBA and i have one question on disaster recovery.

    This looks like a (sample-)question for an exam. The answer is:

    - take a tail log backup

    - restore the last FULL backup (using NORECOVERY)

    - restore the last DIFF backup (using NORECOVERY)

    -...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: View with a wildcard * for fields

    Using "SELECT * " in a view has a caveat you need to be aware of or it will bite you in the ***. A change in columns of the...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Query not returning all records in the table with not "where" condition

    What number is resturned when you execute:

    SELECT COUNT(*) FROM {your_table}

    What number is returned when you execute:

    SELECT COUNT({your_xml_column}) FROM {your_table}

    What number is returned when you execute:

    SELECT COUNT(CAST({your_xml_column} as NVARCHAR(4000))) FROM {your_table}

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Update Identity column

    Good question, but I had it wrong. I was thinking an UPDATE uses the special 'deleted' and 'inserted' tables. And therefor concluded the INDENTITY_INSERT also applies to UPDATE. I now...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL Server 2014 Management Studio Backup

    The official Microsoft manual for the maintenance plan (using the wizard) is here: http://msdn.microsoft.com/en-us/library/ms191002.aspx. If you google a bit you can find many other step-by-step descriptions and also find about...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: automate daily backup

    You can put the execution of your DIFF backup statement inside a TRY...CATCH block. Check in the CATCH block if the error message is the missing FULL backup. If so,...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL - How to group by on two fields and count

    Your problem basically lies within the design of the table. If possible you should normalize the table and remove the 'duplicate' columns (User1, User2) and replace them with a single...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **

Viewing 15 posts - 271 through 285 (of 1,409 total)