Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: Error adding a package to an SSDT 2012 Solution

    Upgraded packages are not backward compatible. You cannot open a package with greater version on a lower version.

    You can see the package version in the text editor like this: ...

  • RE: expanding the keyword AS

    As mentioned above by Lowell you have to achieve the desired result executing dynamic SQL.

  • RE: Convert Varchar to Int

    When using CAST /CONVERT you cannot convert a field to a different data type if not all the values can actually be converted or are compatible. All the INT values...

  • RE: Deployment in SSIS 2008R2 and 2012

    When you say deploy the package, do you mean deploy to the file system, SQL store, SSIS package store or SSIS catalog?

    If you are just trying to deploy a single...

  • RE: SSIS in 2014 upgraded package question

    The way metadata is returned in SQL Server 2012/2014 is different than SQL Server 2008 R2.

    If you are looking for the quick fix and something that works than change...

  • RE: How to convert nvarchar to date data type?

    If you need to get the current_week that is 15 days before today's date then you can use this statement:

    Select current_week from #mytable

    where GETDATE()-15 between cast(Left(Ltrim(current_week), 10)as date) and ...

  • RE: How to convert nvarchar to date data type?

    Select cast(DATEPART(week, cast(Left(Ltrim(current_week), 10)as date)) as nvarchar) +'~~'+cast(DATEPART(week, cast(right(Rtrim(current_week), 10)as date))as nvarchar) as [Week Number] from #mytable

    Week Number

    8~~9

    3~~4

    3~~4

    3~~4

    4~~5

    5~~6

    7~~8

    7~~8

    This will show on which week the begin and end dates will fall...

Viewing 7 posts - 1 through 7 (of 7 total)