Forum Replies Created

Viewing 15 posts - 991 through 1,005 (of 1,344 total)

  • RE: Row count challenge

    Sure you can, what you do to a1.au_lname you have to do to a2.au_lname

    select rank=count(*), a1.au_lname, a1.au_fname

    from authors a1, authors a2

    where a1.au_lname + a1.au_fname >= a2.au_lname + a2.au_fname

     ...

  • RE: Conditional Query

    Minor detail

    You state "If all records in table child" Does this mean table wide, or if All detail records for a parent?

    If table wide, then what status record should be...

  • RE: Row count challenge

    Without answering your question directly

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;q186133

    Ranking from sql (Numbering results) has a cost, IMHO the cycles are better spent on the presentation layer.

    But I understand there are circumstances where...

  • RE: Need help in writting a Trigger...

    Well, you have left quite a bit of information out.

    you have 5 tables, and each table has a matching table?

    I'm assuming yes.

    So for each of the 5 tables you need...

  • RE: Product Concept Input Requested

    Developers are a Carniverous lot.

    That app that builds apps. Kind of leaves developers out of the loop once it gets accomplished.

    Cutoff your nose in spite of your face.

    I've worked several...

  • RE: Scripts

    You want users that have full control over what?

    Don't understand on what you mean by who owns service account.

    To figure out what users have access to what data files are...

  • RE: Big SQL Server 2005 News

    How do U keep a dba in suspense.

     

     

     

    Tell U tomorrow!!

    its 10:04, where's my big announcement?

  • RE: books

    Depends on your previous experience level.

    If you go to amazon, and look for t-sql, they will show you a bunch of books, but off to the right under list mania,...

  • RE: SQL Server 2004?

    Next version is sql 2005, and it will be out later this fall. There are no other released versions sql 2000 was the last realeased version.

    Apparently there is some big...

  • RE: Help With a Stored Proc Name

    How Bout

    sp_who2

    -- Retrieve the sql of this connection

    DECLARE @handle binary(20)

    SELECT @handle = sql_handle

        FROM master..sysprocesses

        WHERE spid = 54  -- Your Spid Here

    SELECT [text]

        FROM ::fn_get_sql(@handle)

  • RE: Calculated fields

    IMHO, Initially I would say no that would not be a great place to use a calculated field. But again I guess it depends. Do you store the previous years...

  • RE: "Login failed for user ''''(null)''''. Reason: Not associated with a trusted SQL Server connection"

    Is server in mixed mode or windows only mode?

    Are you connectiong w/ sql login, or domain account?

    that error only indicates that sql server does not know who you are. No...

  • RE: Blank page on every other page!

    If you made sure the size was the same as your margins I'm not sure.

    Make sure you don't have Page break after headers and footers.

     

  • RE: Tring to add a ''''=========='''' to result set

    When the results of a case statement do not match in datatype you will get this error.

    You connot convert '===============' into an int.

    try CASE WHEN GROUPING (od.Orderid) = 1 THEN...

Viewing 15 posts - 991 through 1,005 (of 1,344 total)