Forum Replies Created

Viewing 15 posts - 1,246 through 1,260 (of 1,988 total)

  • RE: check if record exists then update else insert

    Just based on that logic if any record in the your staging table matches anything in the target table very row in the staging table would be treated as an...

  • RE: Does the SQL Import wizard imports data in sequence?

    Yes it will process text files in line order, that is no guarantee however that they'll come out of a database table in that order. The line counter can...

  • RE: is it possible to determine the max length of a field in a csv file?

    Well if you really don't know the lengths just import everything as varchar(max) then proceed to do some analysis from there.

  • RE: Today's Random Word!

    whereisSQL? (11/4/2016)


    Ed Wagner (11/4/2016)


    Jeff Moden (11/4/2016)


    Eirikur Eiriksson (11/4/2016)


    crookj (11/4/2016)


    Luis Cazares (11/4/2016)


    djj (11/4/2016)


    Ed Wagner (11/4/2016)


    Revenant (11/4/2016)


    Hugo Kornelis (11/4/2016)


    Luis Cazares (11/4/2016)


    Match

    Winner

    Medal

    Olympics

    Olympian

    Zeus

    Orion

    The Hunter

    Betelgeuse

    Telescope

    Astronomy

    Phrenology

  • RE: Determine if a table column is used?

    DECLARE @query nvarchar(max)

    SET @query = (SELECT STUFF(COL_ONE, 1, 10, '') FROM

    (SELECT ' UNION ALL SELECT DISTINCT ' + char(39) + COLUMN_NAME + char(39) + '' + ' FROM...

  • RE: Generating Our Own Bad Data

    Steve Jones - SSC Editor (11/3/2016)


    ZZartin (11/2/2016)


    I don't feel it's the job of IT to play vigilante and hunt down people potentially abusing the system, unless you work in InfoSec...

  • RE: Server Hardware or Coffee?

    It always surprises me that companies will have no issues putting up 6-7 figures on deployments in licensing/man hours but then put up a huge fight over an extra 5-10...

  • RE: CREATE TABLE and Indexes

    Nifty, too bad I don't create tables often enough to care much about this vs just declaring the indexes separately. Especially if SSMS wasn't also updated to script out...

  • RE: WITH INDEX hint

    Did you try updating the statistics on the tables in question first?

  • RE: Generating Our Own Bad Data

    I don't feel it's the job of IT to play vigilante and hunt down people potentially abusing the system, unless you work in InfoSec and are just an evil person.

  • RE: Today's Random Word!

    Manic Star (11/1/2016)


    Luis Cazares (11/1/2016)


    jasona.work (11/1/2016)


    Ed Wagner (11/1/2016)


    Luis Cazares (11/1/2016)


    crookj (11/1/2016)


    djj (11/1/2016)


    Revenant (11/1/2016)


    Ed Wagner (11/1/2016)


    Alan.B (11/1/2016)


    djj (11/1/2016)


    Luis Cazares (11/1/2016)


    Ray K (11/1/2016)


    Resistance

    Rebellion

    Jedi

    academy

    Apprentice

    Sorcerer

    Wizard

    prestidigitator

    Magician

    Illusion

    Mysterio

    Rey

    Manta

    Bat

  • RE: Record Selection

    What about this, since you don't have any other criteria the results will be fairly arbitrary if you have multiple rows that are returned either with ThisRec or no rows...

  • RE: The Forever Technology War

    Gary Varga (11/1/2016)


    It seems a little worrying how many will not use the command line. I am not referring to your average citizen but your average IT professional. I have...

  • RE: ETL separate database

    RVO (10/31/2016)


    Thanks Jeff.

    I'm confused.

    You're saying it's a good idea to have staging tables in a separate database

    but then what do I do with Foreign Keys?

    Flow is the following:

    1. load into...

  • RE: HELP! I've got to give a talk to our local .NET geek meet on SQL server

    aaron.reese (10/28/2016)


    With CF you can rapidly prototype based on the business problem and then retro-fit the underlying data structure without having to touch the business logic or the entity classes.

    Business...

Viewing 15 posts - 1,246 through 1,260 (of 1,988 total)