Forum Replies Created

Viewing 15 posts - 7,171 through 7,185 (of 26,490 total)

  • RE: Listing Years based on range

    born2achieve (10/19/2013)


    Hi Jeff Thanks for your response and great article. But i have a concern that you are using custom year next to the declaration.

    SELECT @fromYear='1913-01-01', @toYear='1998-01-01'

    I don't want...

  • RE: Query Optimization help

    Not knowing what changes you made to your code I made a simple change, I moved your CTE pdtmstr into a select into statement to populate a temporary table called...

  • RE: Joins

    cdl_9009 (10/18/2013)


    I think this is close but still isn't working. It is saying no data found but i know there is.

    select VENDOR.vendor_name, (ORDERS.ORD_TOTAL_COST + Orders.ord_total_cost)as "Total Amount Owed"

    from VENDOR...

  • RE: Exceptionally slow row addition or modification on table associated to indexed view.

    The problem with giving you any suggestions at this point is we don't know enough to actually provide you with any viable alternatives. We can't see from here what...

  • RE: Listing Years based on range

    born2achieve (10/19/2013)


    wow, thanks a lot lynn and SSC.

    Hi lynn,

    I would like to understand your concept. Is it possible to give me brief explanation about your logic would be great.

    Go down...

  • RE: SFTP through SSIS

    Stan Kulp-439977 (10/18/2013)


    You can use the open source SSIS SFTP custom task component from this project at CodePlex.com

    http://ssisextensions.codeplex.com/

    Here is the 2008 R2 version:

    http://ssisextensions.codeplex.com/releases/view/101949

    Here is the 2012 version:

    http://ssisextensions.codeplex.com/releases/view/101332

    Let's make this easier...

  • RE: palindrome

    What are you trying to accomplish?

    declare @Str1 varchar(10) = 'ABBA';

    if @Str1 = reverse( @Str1)

    print @Str1 + ' is a Palindrome'

    else

    print @Str1 + ' is not a Palindrome'

    set @Str1 = 'ABC';

    if...

  • RE: Listing Years based on range

    No recursion needed:

    declare @Start int = year(getdate()) - 15;

    declare @Upto int = year(getdate()) - 100;

    with eTally(n) as (select top(@Start - @Upto + 1) ROW_NUMBER() over (order by (select null)) -...

  • RE: Database Restore Issue

    As long as it is not used in a production environment. The developer edition is meant for use in development, testing, and demonstration of capabilities. Be sure to...

  • RE: Database Restore Issue

    I've have given you suggestion. Install the Developer Edition on your development/test servers so that you have access to same features as you are using in production.

  • RE: Database Restore Issue

    In addition to removing the partitions from the table(s) you will also need to drop the partition schemes and partition functions. As long as those exist you will still...

  • RE: Function vs Direct query

    tony28 (10/17/2013)


    Lynn Pettis (10/17/2013)


    Well, the word doc has the DDL but I am not taking the time to convert you Excel sheet to necessary format to load the tables.

    You really...

  • RE: Function vs Direct query

    Well, the word doc has the DDL but I am not taking the time to convert you Excel sheet to necessary format to load the tables.

    You really need to read...

  • RE: Need to change column type from decimal(18,2) to decimal(18,4) on fairly big table.

    bugg (10/17/2013)


    Lynn Pettis (10/17/2013)


    Not sure, but this may just be a metadata change to the column. Looking at the numeric data type since your precision is not changing, the number...

  • RE: Function vs Direct query

    Please let me know when you decide to post the DDL (CREATE TABLE) statements, sample data (INSERT INTO) for the tables, and expected results based on given inputs to the...

Viewing 15 posts - 7,171 through 7,185 (of 26,490 total)