Forum Replies Created

Viewing 15 posts - 59,026 through 59,040 (of 59,066 total)

  • RE: TABLE TO SP

    Kokyan is correct... temp tables are always unique per session.  You can see the actual name of a temp table in the tree view (press f8) of Query Analyzer.  They...

  • RE: Taking parsed string and assigning variables without using a temp table

    Actually, there is!  It comes in the form of the PARSENAME command which was specifically developed to break apart the parts SQL object names "at the dots".  Since your example...

  • RE: delete from duplicate records

    Thought AH did a pretty good job!

  • RE: Rejecting rows with Bulk Insert

    In that case, Bulk Insert has a MAX ERRORS setting that works just like the BCP -m parameter.  Again, check BOL under Bulk Insert.

  • RE: TABLE TO SP

    No execution plan is formed for Dynamic SQL until Runtime regardless of method of execution.

  • RE: Could not allocate ancillary table for view or function resolution.

    Not sure but I think it may be the way that Crystal is using the view... I believe that it creates a different instance of the view for each instance that...

  • RE: TABLE TO SP

    Kokyan gave a good example of "Dynamic SQL"... just wanted to remind everyone that dynamic SQL can be quite a bit slower than "Static SQL" because it does not pre-form...

  • RE: Rejecting rows with Bulk Insert

    It's a forum, not on-line help...

    Anyway, use the -m parameter followed by the number of errors you wish to allow.  Lookup BCP,Overview in...

  • RE: Update Statement

    1. You need to assign a "table alias" to the SELECT in the FROM clause.

    2. You need to use that table alias on all column names to the right of...

  • RE: Catching error from UDF inside a SP

    Basically, @@Error only lasts for one successful line of code so by the time you get to the "SET @out_param = @@Error" chunk of code, @@Error has been reset to...

  • RE: isql output question

    Add the "-n" parameter to your command line to suppress both the prompts and the line numbering.

    Recommend you use OSQL instead.

  • RE: CheckSum routine

    Not sure if it uses the 'Sum of Product - Mod 10' method you were talking about but...

    Have you tried the CHECKSUM function in SQL?  It's in "Books on line".

    --Jeff...

  • RE: Bulk Insert - Row Terminator Problem?

    Richard,

    It's a bug and it's in BCP as well as bulk insert.  The only time the "First Row" option works correctly is when the rows to be ignored, the first...

  • RE: bcp extra characters in output file

    The "-c" parameter, as you are probably aware, uses the CHAR format.  What you might not know is that it adds the "newline" character as well.  Hex "0D" is a...

  • RE: Please give me query to display hierarchy

    Lookup "hierarchical information" in Books on Line for an example.  Has a bug in it but shouldn't be hard for you to find.

    --Jeff Moden

Viewing 15 posts - 59,026 through 59,040 (of 59,066 total)