Forum Replies Created

Viewing 15 posts - 6,376 through 6,390 (of 13,877 total)

  • RE: Need help with a SQL "least significant digit" algorithm

    BowlOfCereal (11/7/2016)


    Hi all,

    Looking for some quick help with a bit of SQL. The best way I can describe it is that I'm trying to add 1 to the least...

  • RE: Determine if a table column is used?

    MyDoggieJessie (11/7/2016)


    Because in that route, while working with 100+ million rows and doing an insert into a temp table on several hundred columns wouldn't play well with tempdb and I...

  • RE: How to use a CSV as parameter in a query

    Maybe the infamous DelimitedSplit8k[/url] is what you need.

  • RE: Determine if a table column is used?

    MyDoggieJessie (11/7/2016)


    Thanks for the comments guys (not sure why I'm not being notified about them)...

    The table design is horrendous...in fact this is a rather small table 🙂 It's a...

  • RE: Importing Data and Default Values

    John Mitchell-245523 (11/7/2016)


    SteveD SQL (11/7/2016)


    I included the insert because I have been asked in the past to provide the data structures/processes.

    Steve

    Yes, you were right to do so. I just...

  • RE: sp_settriggerorder in section TRY/CATCH

    Eirikur Eiriksson (11/7/2016)


    rajnoha (11/7/2016)


    Yes, it's an explanation. But if the procedure call without section TRY / CATCH then no transaction is open - Example 1.

    When wrapped in a try/catch, the...

  • RE: Importing Data and Default Values

    Take a look at this link[/url]. You'll see that checking the Keep Nulls option, in conjunction with table-level default constraints, should get you what you need.

    Alternatively, if you cannot set...

  • RE: Flat File Source (CSV) rows discrepancy

    berryber (11/5/2016)


    Normally, googling and messing around, solves 99.999% of my IT (or relationship) problems. This one however, is giving me massive headaches.

    Situation:

    I have a package which runs over a selection...

  • RE: SSIS Package documentor

    7036golf (11/4/2016)


    thank you is there any way to fix code for 2008? if this just a one joint...

    From memory, there was quite a big change in file formats between 2008...

  • RE: SSIS Package documentor

    7036golf (11/4/2016)


    right, there are 5 pages of comments, on which one?.... the information like this should be stated in the posted article itself as it is important to know (pre-requisites)

    I...

  • RE: SSIS Package documentor

    7036golf (11/4/2016)


    SSIS Build Number 2796; Ver Major 10, Minor 50.

    Which is 2008, I think. The code was built for 2012, as has been mentioned in earlier comments.

  • RE: sorting in certain order

    Use a combination of ORDER BY and CASE.

  • RE: SSIS Package documentor

    7036golf (11/4/2016)


    Having the same issues as

    pchelptx (12/4/2015)

    - no data in tables and the errors below

    ---------------Get all connections-----------------------------------

    ---------------Get all connections-----------------------------------

    ------------------------Get all variable details-------------------------------------

    ------------------------Get all variable details-------------------------------------

    ------------------------Get all...

  • RE: Determine if a table column is used?

    Try this. Notice how the count is zero for the column containing all NULLs

    IF OBJECT_ID('tempdb..#tmp', 'U') IS NOT NULL

    DROP TABLE #tmp;

    CREATE TABLE #tmp

    (

    ...

  • RE: Sproc/view/function code parser

    SQL Code Guard[/url] may be of interest.

Viewing 15 posts - 6,376 through 6,390 (of 13,877 total)