Forum Replies Created

Viewing 15 posts - 1,771 through 1,785 (of 1,920 total)

  • RE: Apostrophe's and Variables Headache

    LOL 😀

    Anyways, thanks and welcome mate 🙂

  • RE: Apostrophe's and Variables Headache

    Oh yeah Paul, apologies..i did not look deeply into the variables assigning part.. u need not do that.. sorry mate 🙂

  • RE: Return the records that equal the sum.

    mike 97607 (4/15/2010)


    Thanks greatly to COldCoffee's post, which was way over my head of course,

    Please toss over all of the "thanks" to our comrade Paul White from NZ :cool:.....

  • RE: Return the records that equal the sum.

    Again, this is from Paul White's post..the NUmbers function which creates numbers from 1 to N fast, i mean, very fast!! 🙂

    CREATE FUNCTION dbo.Numbers

    ...

  • RE: Return the records that equal the sum.

    hi buddy... i have created one code for you, test this if it works...

    IMPORTANT:

    I HAVE USED PAUL WHITE NZ'S N-WAY HANDSHAKING COMBINATIONS TO SCRIPT THIS. SO ALL CREDIT TO HIM...

  • RE: Apostrophe's and Variables Headache

    Mate, provide us the create table script and sample rows to insert and check your code... and also i noticed that u are update a table using the count of...

  • RE: cursor inside a cursor

    Hello sachin.. here is a sample code that i use for nested cursors...hope this helps u as well, like Dave's 🙂

    Try it out and let us know 🙂

    IF OBJECT_ID('TEMPDB..#T1') IS...

  • RE: Converting a date

    Do you want to convert a bigint column to datetime (completedtime is in bigint and u want to convert it to datetime and then compare it to getdate() ?? )...

  • RE: Converting a date

    Kris-155042 (4/14/2010)


    The code is below. I hope I've explained myself well enough.

    Unfortunately you have not , mate 🙁

    Some Create table statements, some sample data, which column of yours...

  • RE: how to create directorys in c drive based on column path please....

    Be sure taht the account who is going to execute that query had necessary and adequate permissions to create a new folder on the OS..

    Please let us know if that...

  • RE: how to create directorys in c drive based on column path please....

    Hi buddy,

    as i dont have any DDLs i can directly use to attend to your request, i am giving u a vague and rogue code 😀

    Please test it before...

  • RE: SQL Question

    CirquedeSQLeil (4/14/2010)


    Also, I was surprised to see the sudden responses all while I was prettyfying my code. That was a very quick response on this question.

    Exactly... even i was...

  • RE: SQL Question

    Yes jason, very silly of me.. there were no join in that query.. i just watched that group by and said that.. thanks for pointing it out though 🙂

  • RE: SQL Question

    OMG, so many replies whilst i was decorating my code.. lol...:-D

    Great going at SSC...

    Cheers..

  • RE: SQL Question

    Buddy, dint your subquery (which u used for the lookup alias) give the result u wanted?

    Else, try this.

    SELECT

    T1.FIELD1 , COUNT(T2.FIELD2) COUNT_VAL

    FROM

    ...

Viewing 15 posts - 1,771 through 1,785 (of 1,920 total)