Forum Replies Created

Viewing 15 posts - 796 through 810 (of 1,241 total)

  • RE: Where can I find the definistion of this table value function

    EXEC SP_HELPTEXT 'schema.viewName';

    This formats the output across multiple lines rather than just one. I find it way handier when copying long definitions to the SSMS window.

    ----------------------------------------------------

  • RE: Tempdb Shrink takes long time.

    phil.doensen (1/15/2015)


    You should also do explicit database log backups (as well as normal backups) or make sure your recovery model is set to "simple" or your log file will grow...

    ----------------------------------------------------

  • RE: Best approach to download variably named CSV file from FTP and insert into existing table?

    I have not seen a mention of the Data Flow task. That is SSIS's bread and butter item for moving data around. Since you mention about 4000 rows per batch...

    ----------------------------------------------------

  • RE: Platform Comparison - SQL vs. Oracle (Need benefits)

    I think the business intelligence products (SSIS , SSAS , SSRS ) are a huge plus if you are looking at the warehousing side of things and not...

    ----------------------------------------------------

  • RE: SQL Select stament

    I think the OP may just want a general illustration , may not be solving anything in particular. Here is another method :

    declare @t table

    (

    ID int

    ...

    ----------------------------------------------------

  • RE: Tempdb Shrink takes long time.

    The screen shot shows your initial size for the first file at 155GB, not 100GB.

    If this picture is incorrect I can suggest tinkering with the data management views to detect...

    ----------------------------------------------------

  • RE: SSIS - How to use Foreach Loop to import fixed name file in dynamic naming subfolders

    You could go the way of variable expressions here with a data flow within the for loop container. Unless I am missing something you could:

    variable,

    type,

    expression

    -----------------------------------

    StaticFolderNum,

    int32,

    no expression...

    ----------------------------------------------------

  • RE: backup on maintenance plan doesn't work.

    For the plan that still does not work, did you try changing the "Local Server Connection" in the maintenance plan to a custom one with the account used being Windows...

    ----------------------------------------------------

  • RE: ssis importing .txt file to table, then finding the key column altered, causing the appearance of duplicates

    Glad you worked this out, as I suspected from reading the thread that it was some strange conversion taking place. I have found that converting to string in these situations...

    ----------------------------------------------------

  • RE: Use a timestamp to Track Changes and Synchronise

    You could include both of the timestamp datetime fields in your table design. Call one like DateTimeModified, the other like DateTimeLoaded. In your (I assume) daily ETL you could select...

    ----------------------------------------------------

  • RE: Need to Export the results to Excel

    Is this a one time event? If so I can offer a quick and dirty method :

    1. In SSMS go to Tools > Options > Query Results>SQL Server> Results to...

    ----------------------------------------------------

  • RE: ETL Through Linked Server

    bantrim (12/31/2014)


    MMartin1 (12/31/2014)


    One of the tweaks I do is alter the max rows per batch and or commit size when transferring millions or rows with SSIS's, dataflow's ole db destination....

    ----------------------------------------------------

  • RE: Date Parameters Defaults

    DonlSimpson (12/31/2014)


    MMartin1 (12/31/2014)


    DonlSimpson (12/30/2014)


    Or build a calendar table and use it in a dataset.

    How would this be different? Would you have fields in the table to denote first Tuesday of...

    ----------------------------------------------------

  • RE: ETL Through Linked Server

    One of the tweaks I do is alter the max rows per batch and or commit size when transferring millions or rows with SSIS's, dataflow's ole db destination. This optimises...

    ----------------------------------------------------

  • RE: Execute SSIS package using bat file

    I have to wonder why you need to use a batch file. Do you need to schedule the package with Windows Task Scheduler? I myself prefer the SQL Server Agent...

    ----------------------------------------------------

Viewing 15 posts - 796 through 810 (of 1,241 total)