Forum Replies Created

Viewing 15 posts - 151 through 165 (of 371 total)

  • RE: Better Backups

    I was almost sure that my options "Enable backup compression" and "Create a user that is classified into a limited CPU workload group in Resource Governor" were right. Resource Governor...

  • RE: Help me: Many Tables to join.

    I agree with Gail. Try to comment that UDF to see if it improves performance.

    I see some UDFs everyday with heavy calculations and loops that cause performance degradation.

  • RE: Stairway to SQL Server Indexes: Step 10, Index Internal Structure

    There's just so much information in the this article and discussion!

    Please keep up the good work.

    Many books don't expose the level of detail presented here and leave us wondering how...

  • RE: Multiple Inserts

    Easy and straight-forward question.

    Thank you.

    And when I need to use something similar in MSSQL 2000 or 2005 I write this:

    INSERT INTO dbo.Table(Column1, Column2)

    SELECT 'Value1', 'Value2' UNION ALL

    SELECT 'Value3', 'Value4' UNION...

  • RE: Rainbow Table

    Now that was something I didn't know about.

    I knew the answer wouldn't be leprechaun though. 😀

    Thank you for the question.

  • RE: How can you write a view with Variables in a subquery?

    Thank you for that link.

    The discussion following that article is excellent as well.

  • RE: Conversion of oracle query to SQL

    Just a quick and silly reminder:

    select

    substring(pagename, 1,charindex('/',pagename)-1) as sitename, -- or LEFT(pagename, charindex('/',pagename)-1)

    count(*) as cachecount

    from systempagecache

    group by substring((pagename), 1,charindex('/',pagename)-1)

    order by cachecount desc

    It's valid because the ORDER by...

  • RE: Tail Log Backups

    My lack of experience with offline databases led me to the conclusion that the NORECOVERY option was always needed in tail log backup. But I should have known there was...

  • RE: Back-up strategy

    I must apologize because my last post seemed harsher than I intended it to be.

    I was in a bad mood last night and didn't chose the right way to express...

  • RE: Back-up strategy

    have2much (1/9/2012)


    I believe it's a technical forum where we are discussing and helping other to find out a resolution. At times we may not very sure about the things and...

  • RE: Help with Counts

    I understand that something like this should work:

    COUNT(*) OVER(Partition by datakey) / COUNT(*) OVER(Partition by landline, datakey) AS Uniquelandline,

    COUNT(*) OVER(Partition by datakey) / COUNT(*) OVER(Partition by mobile, datakey) AS Uniquemobile,

    COUNT(*)...

  • RE: Alternatives to LIKE and FTS for mid name search

    Hi.

    Could you please post and example that shows how're you using your FullText code?

    [EDIT] AFAIK you'd be fine using CONTAINS or CONTAINSTABLE.

    Best regards,

  • RE: Help with Counts

    Modified stephen's code a bit:

    declare @t table(indkey nvarchar(2),datakey nvarchar(4),landline nvarchar(11),mobile nvarchar(11),email nvarchar(20))

    insert into @t values ('1','0001','01234567890','0712345679','1@test.co.uk')

    insert into @t values('2','0001','01234567890','','1@test.co.uk')

    insert into @t values('3','0002','01234567891','','2@test.co.uk')

    insert into @t values('4','0002','01234567890','','2@test.co.uk')

    insert into @t values('5','0002','','07123456789','')

    insert into @t...

  • RE: Stored procedure to find and replace text in a text file

    You could also use a CLR assembly with code to do that but it depends on the environment and the security of the server. It's a bad idea to leave...

  • RE: Failed "ALTER DATABASE...REMOVE FILE" leaves sys.database_files missing a file

    I just had the same problem here tonight.

    I was making a little test creating extra files for tempDB and ended up with this weird behavior.

    Has anyone experienced this? Is this...

Viewing 15 posts - 151 through 165 (of 371 total)