Forum Replies Created

Viewing 15 posts - 8,566 through 8,580 (of 14,953 total)

  • RE: Generating Next Numeric Strings

    I would seriously look into using an Identity column and partitioning the table based on the year. That'll be the easiest and most robust solution. If you do...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Reindexing and the benefits of fill factors.

    No. Additional pages usually just means it won't fragment as rapidly next time. Should have just about zero impact on selects and deletes, and might improve the speed...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Query to call Stored Procedure repeatedly

    I could be mistaken, but it looks to me like this part:

    DECLARE @my_count int, @client_id varchar(10)

    SET @my_count = @@ROWCOUNT

    SET NOCOUNT ON

    /* ------------------------------------------------------------------------------ */

    ONE_MORE_TIME:

    IF (@my_count > 0)

    GOTO START_ONE_MORE_TIME

    ELSE

    GOTO ALL_DONE

    Will...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Time consuming keywords in T-SQL

    scsfdev (8/23/2009)


    Hi all,

    Can someone tell me

    1. which T-SQL keywords use more time than others? I want to know the list.

    2. If you have any links for this, please share me.

    Currently,...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: A True SQL OS

    I like the idea of a stripped down version of Windows for this purpose more than the idea of SQL Server having to support hardware drivers, Active Directory, booting, internet...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: SQL Error Logs

    To those who have checked the suggestion out, "thank you".

    The more the merrier, so if anyone else can head that way and vote on it, it would be appreciated.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Single flat file to be loaded in multiple tables at destination

    You're welcome.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Confused Copying a Database on Same Server

    ALTER DATABASE dbname MODIFY FILE ( NAME = currentname, NEWNAME = newname )

    All that kind of stuff comes under Alter Database in Books Online.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    RBarryYoung (8/25/2009)


    Pretty cranky, to be honest.

    My sixth day in the hospital, I'll get transferred to rehab tomorrow. The back/leg pain has been gone for 4 days, but my right...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Urgent: Help regarding "For XML" Clause

    If you store the XML as varchar(max) instead of as XML, you could use Replace to add line-breaks after certain tags. Would that do what you need?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Recommendations for 3rd party agent tool?

    Command-line plus Windows scheduler is the simplest and doesn't cost anything.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Analyzing SQL Error Logs and Agent Logs

    xp_readerrorlog is the main way that gets done. It's an undocumented, unsupported method, but it's what's most common.

    I've put in a request to Microsoft to document it or support...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: job takes different time to complete

    You mentioned a linked server. Network traffic might make a difference. Lots of things might. Have you tried tracking CPU, memory and I/O use during the job?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Linked Server Security

    You'd have to use the Current Security Context option. Or explictly list the logins in the top half of the window.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Login failed for User ".

    Login mapping is the first thing that comes to my mind.

    Do you have a "Use this login when ..." set up in the security for the linked server?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 8,566 through 8,580 (of 14,953 total)