Forum Replies Created

Viewing 15 posts - 616 through 630 (of 851 total)

  • RE: How to store results for a query to a table?

    [font="Verdana"]You can log output from a job using SQL Server Agent to a file. Or if you are running it from the command line using SQLCMD, redirect the output...

  • RE: Developer asked a cursor question

    [font="Verdana"]My suggestion would be as follows:

    The reasons cursors are "bad" is that they reinforce the "one row at a time" type of solution. It's not the cursor as such...

  • RE: query for getting distinct id in contact log

    [font="Verdana"]Thanks Milla. You read the question way better than I did, and I think your solution will be more appropriate.[/font]

  • RE: Problem With IsNumeric()

    Jeff Moden (2/16/2009)


    Bruce W Cassidy (2/16/2009)


    In another thread, Jeff [font="Arial Black"]Modan [/font]reminded me that numbers of the form '1d3' and '1e3' are legitimate.

    Heh... and Bruce W [font="Arial Black"]Cassody [/font]used the...

  • RE: Conversion failed when converting datetime from character string

    [font="Verdana"]I'm wondering whether the reason that the datetimes have been posted in the string form is that the application needs to preserve the timezone data.

    I think the best bet would...

  • RE: SQL or Oracle

    Jeff Moden (2/16/2009)


    It's a GREAT day for arguments! 😛 Too bad we're not having one.

    [font="Verdana"]Wait! All is not lost! Now we are arguing about whether we...

  • RE: SQL or Oracle

    Roy Ernest (2/16/2009)


    Calm down people ... Calm down...:D It is a Monday afternoon...:D Not the best day to have arguments.... 😉

    [font="Verdana"]Tuesday morning here. My Dr said I'm allowed to...

  • RE: SQL or Oracle

    Jeff Moden (2/16/2009)


    I didn't need you to show me how to use a bloody Ref Cursor... I knew and it was a rhetorical question indicating that it wasn't necessary to...

  • RE: SQL or Oracle

    Gift Peddie (2/16/2009)


    At least on 2006 the business chose Oracle

    Cannot find anything more recent of the same weight/popularity...

    I don't think those sales translate to business choice because I...

  • RE: Problem With IsNumeric()

    [font="Verdana"]Interesting. I thought the code looked a little wonky, so I did a quick test:

    select dbo.isReallyInteger('1')

    ----

    0

    Last time I looked, 1 was an integer. 🙂

    I suspect your PATINDEX needs...

  • RE: SQL or Oracle

    gints.plivna (2/16/2009)


    At least on 2006 the business chose Oracle 😉

    Cannot find anything more recent of the same weight/popularity...

    [font="Verdana"]No surprises there. Well, hang on... Unix is still more popular...

  • RE: SQL or Oracle

    Jeff Moden (2/16/2009)


    Business needs to start considering "which is easier to program in?"

    [font="Verdana"]Pulls out the choir robes and the preacher robe Which do you wanna wear?[/font]

  • RE: Problem With IsNumeric()

    [font="Verdana"]Me either. Here's hoping someone else on here has some ideas! Did you try creating multiple CTEs?[/font]

  • RE: Multiple Batch Insert

    James (2/16/2009)


    If I use BULK INSERT, is there a way that I can insert it to Multiple table at one time? or how do I manipulate the data in one...

  • RE: Problem With IsNumeric()

    [font="Verdana"]StreetName is a varchar, right? With values like 'CAMBRIDGE' I would hope so!

    Can you run the query just filtering on StreetName? Maybe build it up in layered CTEs.

    [/font]

Viewing 15 posts - 616 through 630 (of 851 total)