Forum Replies Created

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

  • 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...

  • RE: ETL Through Linked Server

    Do you have access to SSIS? You could query the data with the use of a data source component, of the dataflow task. It is much faster than a linked...

  • RE: OPENROWSET(BULK @path )

    ikrami2000 (12/30/2014)


    Steve, please don't give me your advice, if you need to help you will do, if you don't , just don't reply, because sometimes anyone can search...

  • RE: Date Parameters Defaults

    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 the month,...

  • RE: Date Parameters Defaults

    Did you try building a dataset to calculate each default date that you want ? You could then use those data sets, one for the from date and the other...

  • RE: Restrict access to Database

    Out of curiosity, any performance considerations with logon triggers that you are aware of?

  • RE: way to get just the latest file from stft site without scripting or creation of a sql table for parsing filenames?

    KoldCoffee (12/28/2014)


    pietlinden, in the end, the approach I took was to create the portion of the filename that holds the date using functions and concatenate it to the part of...

  • RE: SSRS textbox code not working properly

    gissah (12/27/2014)


    I am trending the current value on a chart. For example

    =IIF(Month(Parameters!EndDate.Value) > MAX(Fields!OrderMonth.Value),

    give me the current value by:

    Let say Goal = 1000

    Order month = month order was purchased

    12=...

  • RE: How to slect data from table ?

    Create a table valued function that returns the delimited string as a column in a table. Join whatever table you are working on to this table (valued function) on the...

  • RE: Killing all sessions and restoring the database

    declare tmpcursor cursor for

    select 'kill ' + convert(varchar, spid) as spid

    from master..sysprocesses

    where db_name(dbid) = @dbname

    and spid <> @@spid

    and dbid <> 0

    Markus out of curiosity,...

  • RE: SSRS textbox code not working properly

    In more detail, what exactly is the code 'supposed' to do ?

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