Forum Replies Created

Viewing 15 posts - 4,411 through 4,425 (of 7,191 total)

  • RE: Are the posted answers getting worse?

    Jeff Moden (8/10/2012)


    I think "The Thread" finally broke. I'm setup for 50 posts per page and this page has seeming randomly selected (but in temporal order) posts from Jan...

  • RE: How to find missing number ??

    I think someone wrote an article about this problem. Search this site for "gaps and islands" and you should find it.

    John

  • RE: Constraint Event Order

    (Bob Brown) (8/9/2012)


    STUPID QUESTION: Don't BEFORE triggers fire before AFTER triggers? Is number 2 totally wrong?

    I think the point is that there's no such thing as...

  • RE: SQL concatenate - please help

    If you have a blank (''), then you want to lose the CHAR(10) so that you don't end up with a blank line, so use a CASE expression to deal...

  • RE: Remove redundant data from address column

    My apologies. I performed a visual inspection but didn't actually test it. Try it with '11 Village Green' and 'Greenford' instead.

    John

  • RE: Remove redundant data from address column

    Yes, that works for the sample data provided (although the cursor isn't necessary) but what happens when you have '11 High Street' and 'Chester-le-Street' as your address1 and address2?

    I think...

  • RE: Filtering data from a table

    No, you don't need to iterate or use temporary tables. All you need is a fairly simple GROUP BY query. Please give it a try, and post back...

  • RE: Log in Issue

    Satish

    The first thing you should do (even before you post on a forum like this) is to type that error message into your favourite search engine and see if you...

  • RE: Log in Issue

    Satish

    How did you create the SATISH account? Is it a SQL account or a Windows account? What message is appearing in the SQL errorlog when you get the...

  • RE: Log in Issue

    Satish

    Log in as Administrator and create a login for your own user account. Then log in with that user account and connect to SQL Server.

    John

  • RE: PerfMon & SQL MPA

    The performance object is called SQLServer:User Settable and the counter is called Query. I can't remember how you get the query into the system and I'm afraid I don't have...

  • RE: PerfMon & SQL MPA

    Maybe I'm using the wrong name - it's actually called Performance on my machine. It's what you referred to as PerfMon. Sorry, I should have checked before posting.

    John

  • RE: PerfMon & SQL MPA

    If I remember correctly, you can create a customer counter in System Monitor with your own query.

    John

  • RE: How to repair the table

    Back up the tail of your transaction log.

    Restore your database from the most recent good backup, with NORECOVERY.

    Restore the transaction logs up to the point immediately before the corruption occurred.

    Recover...

  • RE: Is there an joiner much like the 8kSplitter?

    Anthony

    Just declare a variable and concatenate in one single SELECT statement, something like this (not tested):

    SET @MyVariable = ''

    SELECT @MyVariable = @MyVariable + ', ' + MyColumn

    FROM MyTable

    ORDER BY MyKeyColumn

    --...

Viewing 15 posts - 4,411 through 4,425 (of 7,191 total)