Forum Replies Created

Viewing 15 posts - 1,591 through 1,605 (of 3,232 total)

  • RE: Error when returning results of Execute SQL Task component to a string variable

    Is that the only other place you'll be using the IDList? Maybe it would help if you could give a brief description of the package's purpose and the logic...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Error when returning results of Execute SQL Task component to a string variable

    You'll still need to change the data type to 'object'. Try that out and let us know if you get past your error.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Error when returning results of Execute SQL Task component to a string variable

    Any time you are storing a recordset (even if its a single row) into a package variable, you must define it as an 'object' data type, not string. Change...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Large Transaction - GO Statement Inside?

    You're quick Barry. I checked for other responses just before clicking the Post Reply button.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Large Transaction - GO Statement Inside?

    The GO statement is used by osql and isql to logically break a SQL script into batches that it can send to the SQL Server. Each chunk of code...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Delete Script

    I've got to roll out for the day, but I'm real curious as to what some of the other heavy hitters are going to say.

    You mentioned thinking bigger....

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Show data with at least an F grade

    Thats better. Thanks Sam. So what you really want to display is any student who has had an F in any class?

    I'm taking off for the...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Delete Script

    OK, then you have to rely on the setup table maintaining your data integrity? Why add another layer? If you were going to go this route, why not...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Show data with at least an F grade

    What does 'at least an F' mean?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Delete Script

    You should not need a cursor to run a delete. What's wrong with a simple SP that does the following?

    BEGIN TRANSACTION

    DELETE c1

    FROM Child1 c1

    ...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Question on Nolock UDF

    First off, keep in mind that NOLOCK is equivelant to READ UNCOMMITTED isolation so you are reading dirty data. There's a bunch of problems that can come from this....

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Help with tweaking my sql statement (combining values from different columns)

    This should help: http://www.sqlservercentral.com/articles/Test+Data/61572/

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Show data with at least an F grade

    So do you have a question? A problem?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: pass the multiple query in single IF statement

    You need a BEGIN/END around the statements between your IF and ELSE.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: SP to do INSERT or UPDATE w/o loop or cursor

    Actually, it depends on what you are doing. If you are using SUM(), NULLs will be handled for you. Here's a great link for you to read:

    http://www.sqlservercentral.com/articles/Advanced+Querying/gotchasqlaggregatefunctionsandnull/1947/

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 1,591 through 1,605 (of 3,232 total)