Forum Replies Created

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

  • 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

    --...

  • RE: Search process

    You can answer your question yourself. Click on the Include Actual Execution Plan button and run your query. Inspect the plan to see which of the indexes were...

  • RE: Transform data into 2 more columns

    Is this homework? What have you tried so far?

    John

  • RE: Table Missing

    Make sure you qualify the table name with the schema name. You'll find that in the results from INFORMATION_SCHEMA_TABLES.

    John

  • RE: The Beer Cooler Thread

    Yes, and the name of the beer wasn't the only pun. There was something in the description about COUNTing the DISTICT flavours, and so on.

    Don't get me started on...

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