Forum Replies Created

Viewing 15 posts - 346 through 360 (of 595 total)

  • RE: Reading a system variable with TSQL

    You can check out the return values of the extended procedures in the master database, or, if you're up to it, write your own extended procedure. There's information in...

  • RE: QOD 6/10/2003

    ok, horse is now officially pulp. brian has already stricken the question.

  • RE: unsigned ints

    You'll get no disagreement from me! 🙂

  • RE: UNION into statement fails

    Is there an error code produced. "It doesn't work" doesn't help me much. If I read your code correctly, you are trying to insert a temp table's records...

  • RE: help Showplan_text causes unexpected error

    From Books Online:

    quote:


    The setting of SET SHOWPLAN_TEXT is set at execute or run time and not at parse time.

    When SET SHOWPLAN_TEXT is...

  • RE: UNION into statement fails

    Try specifying the returned fields in the SELECT * FROM #NEWTEMP. I believe the UNION requires a matching number of fields in each of the joined resultsets.

  • RE: QOD 6/10/2003

    I believe the question was what was causing the deadlock, which was indeed the HOLDLOCK hint. Your comments are indeed accurate, but did not address the question, which specifically...

  • RE: Decimal versus Money and division

    quote:


    ...you'll see it's length is 9 bytes rather than 8....


    As I mentioned in my first...

  • RE: unsigned ints

    I agree; bit of a pet peeve with me as well...What about using the BIGINT datatype, it's signed, but should give you the range you need. It's only supported...

  • RE: SQL command help needed

    quote:


    ...Is it possible to get the results I am looking for with a sql statement or must I use a procedure....


  • RE: SQL command help needed

    
    
    CREATE PROCEDURE dbo.HasPaid
    (
    @GuyID INT NOT NULL
    , @DollID INT NOT NULL
    , @GuyPaid BIT NOT NULL OUTPUT
    , @DollPaid BIT NOT NULL OUTPUT
    )
    AS
    -- First, guy
    SELECT @GuyPaid =...
  • RE: Decimal versus Money and division

    The only difference I can think of between the two data types is that the MONEY datatype will ALWAYS have a precise scale of 4 (meaning, always has 4 digits...

  • RE: Using "Like" or Wildcard

    quote:


    That's correct. I want ALL active courses AND ALL active courses that starts with the number 10. ...


  • RE: Using "Like" or Wildcard

    I'm sorry, but Wanda wants to limit the query based on BOTH criteria, not just one or the other. AND is the correct expression. The problem is in...

  • RE: Using "Like" or Wildcard

    I'm not quite sure what you are doing with these statemeents, but it almost seems as if you are trying to use the ampersand symbol in place of the AND...

Viewing 15 posts - 346 through 360 (of 595 total)