Forum Replies Created

Viewing 15 posts - 76 through 90 (of 124 total)

  • RE: SSIS + Procedure

    LOVER OF SQL (4/10/2014)


    Thanks. Do you have any example to describe this?

    I don't have an example for passing variables through the application, but here is how you do it in...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: SSRS cube report with parameters...and more

    Scott,

    When you say 3 reports are they 3 different pages on the same report because they selected different inputs?

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Need to check file name before it get process

    unnati.patel513 (4/10/2014)


    Hi, Thank you very much for the code

    But I need to check that if the Date is valid or not

    Lets say if we pass this SourceFile1_99999999999999.txt then...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: SSIS + Procedure

    LOVER OF SQL (4/10/2014)


    the big problem is because i need pass to parameter (application) when execute this procedure, how can i pass two parameter in executing procedure or job ?

    You...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Summing SQL SUM's

    😛

    You have all the answer in your code...

    SELECT ComputerName AS [Computer Name]

    , [Name] AS [Printer Name]

    , SUM(BlackWhiteTotalCount) AS [Total B&W Pages]

    , SUM(FullColorTotalCount) AS [Total Color Pages]

    , SUM(BlackWhiteTotalCount) + SUM(FullColorTotalCount) AS...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Write for SQLServerCentral

    @GilaMonster,

    Thanks for that. I am actually trying to write articles here @ sqlservercentral as well. Only question is, can I also write the same article at my own website?

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: SSIS -> Excel, large data sets

    Steve Jones - SSC Editor (10/27/2010)


    Can someone write an article that shows how you can send more than 65k rows to Excel through SSIS?

    Is this article done, or can I...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: removing duplicates

    Steve, here is a step by step article I wrote on how to remove duplicates from a table in SQL Server. Still waiting for approval for the previous submitted articles,...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Rebuilding a single partition's indexes in SQL Server 2014

    Steve Jones - SSC Editor (4/9/2014)


    How this works with an example.

    Hey Steve, here is a detailed article I wrote on partitioning. How to submit this was a question, I am...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Write for SQLServerCentral

    Interesting Stuff.. I will try to post the articles I prepare for my website too here @ sqlservercentral . quick question, is there an approval process or so, or just...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: SSIS + Procedure

    Can you not make this into two steps using two execute sql tasks directly and in the second task choose to create a sql statement using expression builder and execute...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Eliminating duplicates while insert

    Gerald.Britton 28181 (4/10/2014)


    What's wrong with 1.3 seconds?

    Seriously though, be sure you have indices on the join columns. Pre-aggregate the minimum calculations do reduce the join rows.

    I think OP meant...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Eliminating duplicates while insert

    Try this method may be.. http://sqlsaga.com/sql-server/how-to-remove-duplicates-from-a-table-in-sql-server/[/url]

    There are ranking functions that you can use instead of aggregations too.. but depends on the purpose again..

    Read about ranking functions here @ http://sqlsaga.com/sql-server/what-is-the-difference-between-rank-dense_rank-row_number-and-ntile-in-sql-server/[/url]

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Need to check file name before it get process

    Unnati, see this.. You will be needing to use a Select statement like this and capture the result.

    DECLARE @String VARCHAR(MAX) = 'SourceFile1_20140803073209.txt'

    DECLARE @String1 VARCHAR(MAX) ='SourceFile1_2014073209.txt'

    SELECT @String AS [String] , CASE...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • RE: Getting the MIN value from multiple columns

    I am not sure if this is the one you are asking for, but from what I understood you might need to unpivot first on those date fields and then...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

Viewing 15 posts - 76 through 90 (of 124 total)