Forum Replies Created

Viewing 15 posts - 1 through 15 (of 48 total)

  • RE: Adding Locale ID 31 to a system

    [SOLVED] An additional language can be added to the OS, without changing system default.

    Then the correct locale can be selected in the souce connection and it takes care of nasty...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: How to import the text file contents [ 500 mb] in to sqlserver 2005 schema

    SSIS will provide the process for the import.

    Should you wish to call this from a user interface, SSIS package can be deployed to a server and user application can call...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Audit User Access to a Database

    If only logins then login auditing is sufficient.

    I believe it is held in the sql logs, which are rotated and a new one created every time sql is restarted, so...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Loading tables from text files

    I believe you can set the types during the running of the wizard steps.

    If the files are text files with no headers then you could possible concatenate them all into...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Strange comparison results ³ seems to equal 3

    Some more testing.

    SELECT case when '²' COLLATE SQL_Latin1_General_CP1_CS_AS = '2' COLLATE SQL_Latin1_General_CP1_CS_AS then 'yep' else 'no' end

    SELECT case when '²' COLLATE SQL_Latin1_General_CP1_CI_AS = '2' COLLATE SQL_Latin1_General_CP1_CI_AS then 'yep' else 'no'...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Strange comparison results ³ seems to equal 3

    Thanks for the answers, the collation sounds good.

    Is there a reason why Latin collation show both of these value as equal or is it 'just because'? 😉

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Copy From FlatFile Using Wildcard in File Name

    You could set up the SSIS task to use a for-each loop take data from a set location (wherever the file is dumped to) on a regular basis.

    After processing is...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Importing Excel data to a table using SSIS

    From memory an excel connector will link to a sheet (unless you wish to programatically loop through them)

    If Sheet1 goes to TableA, Sheet2 TableB etc... then I'd be inclined to...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Get Max of a field and also extract date max was created.

    If you can guarantee that to be the case then yes.

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Get Max of a field and also extract date max was created.

    SELECT ITEM, REV, DATE

    FROM table1

    INNER JOIN

    (

    SELECT ITEM, MAX(REV)

    FROM table

    GROUP BY ITEM

    ) AS table2

    ON table1.ITEM = table2.ITEM

    AND table1.REV =...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: converting nvarchar to decimal on export

    Excel tries to be clever and will base formatting on a sample of the records it sees up-front.

    If you want explicit formatting then some programming may be required.

    There was a...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Line Break

    It may be that SSRS has a property that allows it to recognise CR/LF, which would be the easiest way.

    Other than that, it's a case of 'messily' combining results then...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: Find avg price between two tables but the problem is I can't use join between two tables

    Need a teeny bit more info...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: SSIS - Export multiple SQL queries to one excel spreadsheet

    Can't help but think you're making things difficult for yourself.

    Doing everything in a single tab would need some programming to work out where the first set of data ends and...

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

  • RE: SSIS - Export multiple SQL queries to one excel spreadsheet

    I assume you mean one resultset to each worksheet?

    If so, you can set up the Excel destination to explicitly copy to a named worksheet; you would need three Excel destinations

    ---------------------------------------------
    If data can screw you, it will; never assume the data are correct.

Viewing 15 posts - 1 through 15 (of 48 total)