Forum Replies Created

Viewing 15 posts - 9,091 through 9,105 (of 14,953 total)

  • RE: Questions on EXECUTE AS

    Have you tried explicitly granting backup admin to the login being used? I'm guessing now, but might be worth a shot.

    I'll try playing around with the issue a bit,...

    - 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: Payroll Database

    Actually, in most cases, I'm a believer in "find something you can build that will help the end user and build that, then evolve it into something better step by...

    - 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: Composite primary key & auto increment problem

    Yes, that's a more elegant solution. I didn't bother with the variable assignment and all that, was just trying to show the basic structure of the query.

    - 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: Vote for these 2 features in next version of SQL Server

    I voted for both.

    Have to say that they strike me as "nice to have", not as crucial. I'd rate the first one as "nicer to have" than the second...

    - 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: Questions on EXECUTE AS

    Execute As is expecting a user, not a permission name. Create an account that has dbCreator permissions and try executing as that user.

    - 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 Architecture Articles

    Architecture is a pretty broad subject. What kind of articles are you asking about?

    Something about logical design? Physical design? Normal forms? Gathering business requirements? Something...

    - 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: 0 rows returned

    That makes it a permissions issue, almost certainly.

    Have them run it under elevated permissions, see what that does. (Take a look at Execute As in Books Online if you...

    - 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: Composite primary key & auto increment problem

    GilaMonster (7/7/2009)


    GSquared (7/7/2009)


    That means you have to force table locks whenever you access it.

    Exclusive table locks.

    Sequence table has much the same problems as the MAX(ID)+1 solution. Either you...

    - 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?

    Anyone with any thoughts on this one: http://www.sqlservercentral.com/Forums/Topic748034-148-1.aspx?

    - 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: flat file end of row markers

    I haven't done it in years, but I know that VBA and VBS have a FileSystemObject that allows you to read lines from the file into memory. Works for...

    - 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: Payroll Database

    Yes, I've heard of Albania. I have no idea what your legal requirements are going to be, but that will be the first thing you need to nail down...

    - 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: How to customize "Order By" in my select query?

    Ian Scarlett (7/7/2009)


    Rather than add a SortOrder column to the table, just include one in your query e.g.

    select id, forename, case when forename = 'Kim' then 1 else 2 end...

    - 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: Simple Audit of Database Use

    Profiler creates a lot more overhead than a server-side trace that dumps to text files. That creates very, very little processing overhead. Might matter if you're looking at...

    - 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: Global Temp Tables: Triggers Vs Stored Procedure

    naveenreddy.84 (7/7/2009)


    Hi,

    Can anyone help me out with writing the code(scenario 2) using temp variables for logging errors outside the transaction scope.

    Thanks for your help!!!

    Actually, for what you're doing, you...

    - 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: determine what is hitting a database

    Yep. That's always been the biggest weakness of online data. You can't find it if you can't think of the exact words to look for. That's the...

    - 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 - 9,091 through 9,105 (of 14,953 total)