Forum Replies Created

Viewing 15 posts - 16 through 30 (of 5,684 total)

  • RE: Subquery incorrect syntax error

    Drop the ORDER BY, can't order subqueries.

    Also, alias the subquery. IE:

    SELECT *

    FROM (

    SELECT * FROM tblaz) AS drv

    ORDER BY

    drv.column1

    EDIT: Also, you want SELECT TOP 100, not SELECT...

  • RE: Convert Integer to Time

    craig.bobchin (12/3/2014)


    Thanks that worked. How can I concatenate this with a date field. neither '&' nor '+' seem to work.

    Append it before you turn it into a TIME field. ...

  • RE: Convert Integer to Time

    SELECT CONVERT( TIME, STUFF( RIGHT( '0000' + CONVERT( VARCHAR(5), '30'), 4), 3, 0, ':'))

  • RE: If -Then Statement

    pchelptx (12/3/2014)


    I am pretty new working with SSIS, I was not sure if this is the right place to post a question, If it is not please forgive beforehand.

    Welcome, and...

  • RE: Are the posted questions getting worse?

    LinkedIn, ORM Tools, and idiot managers convinced they're closer to the code and tools than I am.

    There's a joke for these three plague topics somewhere... I need more caffeine, I...

  • RE: Zip code search without using #temptable

    No problem. If you get stuck after doing some experimentation just come on back and we'll help you with whatever specific point is causing you a headache.

  • RE: Zip code search without using #temptable

    matt6749 (11/24/2014)


    Thanks very much Craig. Your knowledge is very impressive. - Matt

    Only until one of the big kids around here steps in and reminds me I'm a noob. 😉

    -...

  • RE: Zip code search without using #temptable

    You clustered ZipCodes on Lat and Lon? You don't use a zipcode shortcut for city/state addressing I take it. Most of your access to that table is by...

  • RE: Zip code search without using #temptable

    So the basic idea of this is to find the # of applicable businesses within a radius from a zip code. Got it.

    ... <deletes a bunch of stuff>

    Can we...

  • RE: Are the posted questions getting worse?

    Jeff Moden (11/24/2014)


    Eirikur Eiriksson (11/24/2014)


    Just a quick question to "the thread", am I missing something or is XML getting more popular? Just noticed that this topic on the XML forum...

  • RE: Zip code search without using #temptable

    Would have to see dbo.fnDistanceITVF to be able to determine if it would wrap in well.

    In some ways, the bigger your underlying data sets the better the #tmp performs, not...

  • RE: How Often Does Production Drift?

    Most places I've worked at avoid drift by doing a development refresh from production (with necessary scrambling of identifiers/CC#s/etc, if necessary). At worst, a sprint is only a few...

  • RE: Using SSIS

    psc032802 (11/24/2014)


    What is the "machine in question"? The one the actual database is stored on?

    If so, then SSIS needs to be installed on the database server and also on...

  • RE: SSIS Package successful in BIDS but fails when run by SQL server agent. HELP!

    Dansong00 (11/18/2014)


    Thanks for the awesome suggestion, i did the conditional split as suggested and all the records made it the original destination table, suggesting that there is no loc greater...

  • RE: Are the posted questions getting worse?

    *stares at 3 pages of spammers*

    Steve... can you convince the powers that be to put up a 'board of shame' or something on these spammers? Stick in there anything...

Viewing 15 posts - 16 through 30 (of 5,684 total)