Forum Replies Created

Viewing 15 posts - 5,581 through 5,595 (of 7,636 total)

  • RE: Old Posts

    if you look at the top center of the Forum window, about half an inch below the RedGate ad, is a link called "My Posts". If you click that...

  • RE: Administering an Application Role

    Jacob Pressures (9/4/2008)


    Here is the error i get.

    Error: #1

    Date: 9/4/2008 10:24:59 AM

    ADO Error: #-2147467259

    Description:...

  • RE: Help with a T-SQL query.

    This can actually be viewed as two different issues: 1) how to get the data you want and 2) how to get that data into the format that you want.

    This...

  • RE: Porcess Range IDs

    I am pretty sure that I know how to do it too. I just need the OP to answer my question first:

    rbarryyoung (9/4/2008)


    How many different locales and how many...

  • RE: Which logins are being used

    Jack Corbett (9/4/2008)


    [font="Courier New"]SELECT

       GT.loginname,

       MIN(GT.StartTime) AS FirstLogin,

       MAX(GT.StartTime) AS LastLogin

    FROM

       sys.traces T CROSS Apply

       ::fn_trace_gettable(T.path, 5) GT

    WHERE

       GT.loginname IS NOT NULL

    GROUP BY

       GT.LoginName

    [/font]

    This is seriously cool, Jack. ...

  • RE: Server becomes very slow [RESOURCE_SEMAPHORE] waittype.

    Make sure that Hyperthreading is off and MAXDOP is set to 1.

  • RE: Porcess Range IDs

    How many different locales and how many different RowKeys are there?

  • RE: Problem with DeadLock Transaction

    Glad we could help. FYI, for CLR you will probably need the EXTERNAL_ACCESS permission and SAFE is not enough for writing to files.

  • RE: Thinking of starting a dating site for DBAs

    jminette (9/2/2008)


    Where database professionals can merge join based on 27 parameters in our stored procedure of compatibility.

    Hmmm, sounds like a performance problem. 😛

  • RE: UPdate statement

    Matt Miller (9/3/2008)


    rbarryyoung (9/3/2008)


    Because I put it in.

    That's why you keep seeing the old "the order of processing is not guaranteed" disclaimers on MSDN as to these kinds of things....

  • RE: Need help parsing XML

    Well, thanks for the feedback! 🙂 Some of the credit goes to Michael Coles SQL XML book, which I have been reading this week. It too is...

  • RE: UPdate statement

    Here is the script that I used to test it:

    Set Nocount ON

    create table cit(cno int, descr varchar(16))

    create table nit(cno int, descr varchar(16))

    go

    Insert into cit select 100, ''

    Insert into nit select...

  • RE: UPdate statement

    Because I put it in.

  • RE: UPdate statement

    sturner (9/3/2008)


    rbarryyoung (9/3/2008)


    This should work then:

    Update c1 set descr = n1.descr

    From cit c1

    Join nit n1 ON c1.cno=n1.cno

    actually, that join would set descr = to the "2nd"...

  • RE: Script system stored procedures in master?

    Christian Buettner (9/3/2008)


    But here is something similar that might work out:

    sqlcmd -S TheServerNameHere -o C:\Results.txt -Q "SET NOCOUNT ON;SET ROWCOUNT 200;DECLARE @A nvarchar(max);SELECT @A = ISNULL(@A,'') + ISNULL(OBJECT_DEFINITION(id), object_name(id) +...

Viewing 15 posts - 5,581 through 5,595 (of 7,636 total)