Forum Replies Created

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

  • RE: SQL SP's and Function's Encrypted

    That's what I am thinking too. There is a password that I have to decypt.

    MCSE SQL Server 2012\2014\2016

  • RE: SQL SP's and Function's Encrypted

    I am on the SQL Server itself. Thank you for your help, I may just have to get RedGate.

    MCSE SQL Server 2012\2014\2016

  • RE: SQL SP's and Function's Encrypted

    yes I am sysadmin and yes I am in on a DAC connection. I double checked my properties and the connection name is admin:SqlServerName (DomainName\MyUserName)

    and yes when I run the...

    MCSE SQL Server 2012\2014\2016

  • RE: SQL SP's and Function's Encrypted

    If I run that it says the object is not encrypted or not found.

    If I try to modify or alter I get access rights error.

    The UserDefinedFunction '[dbo].[FunctionName]' cannot be scripted...

    MCSE SQL Server 2012\2014\2016

  • RE: SQL SP's and Function's Encrypted

    Lowell,

    This is where I get lost...

    BEGIN TRANSACTION

    DECLARE @sql NVARCHAR(MAX)

    SET @sql = N'ALTER'+@ObjectNameStmTemplate

    EXEC sp_executesql...

    MCSE SQL Server 2012\2014\2016

  • RE: Creating Header AND Footer to a flat file destination file

    John Dempsey (11/10/2009)


    You can probably get away with just two Data Flow Tasks to generate the file. The first Data Flow Task would generate your Header and Detail records...

    MCSE SQL Server 2012\2014\2016

  • RE: Add two columns to make one total

    Jeff Moden (3/16/2016)


    lkennedy76 (3/16/2016)


    After a long hard battle of 'I don't wanna', the temp table is the best option in this scenario.

    Thank everyone for all your replies. I am truly...

    MCSE SQL Server 2012\2014\2016

  • RE: Add two columns to make one total

    After a long hard battle of 'I don't wanna', the temp table is the best option in this scenario.

    Thank everyone for all your replies. I am truly grateful for this...

    MCSE SQL Server 2012\2014\2016

  • RE: Add two columns to make one total

    I should have put the whole query out here. I am mixing so I need to group. Here is the whole query;

    select

    p.Date as [Payment to Carrier Date],

    t.ConfirmationID as [Confirm Number],

    t.SDate...

    MCSE SQL Server 2012\2014\2016

  • RE: Add two columns to make one total

    I put the ISNULL back and got amounts back but I am at the same cross road, the second column (OrgAmount) is not adding up to one amount.

    MCSE SQL Server 2012\2014\2016

  • RE: Add two columns to make one total

    Phil Parkin (3/15/2016)


    lkennedy76 (3/15/2016)


    okay guys, I am stuck. I have two columns that I need to add and make one total for a report. there are null values so I...

    MCSE SQL Server 2012\2014\2016

  • RE: Add two columns to make one total

    yb751 (3/15/2016)


    Jason-299789 (3/15/2016)


    @yb751

    The NULL will only be eradicated if there is a row with a non-Null value, in the same column.

    See the code below, when aggregating on Account.

    DECLARE @myTable...

    MCSE SQL Server 2012\2014\2016

  • RE: Add two columns to make one total

    I have null values that I need to remove, ISNULL does that, why would I not use it?

    MCSE SQL Server 2012\2014\2016

  • RE: Snap Shot error

    Swoozie,

    I think it was permissions. This was a few years ago, are you having issues with repl?

    MCSE SQL Server 2012\2014\2016

  • RE: SQL Jobs on Always On

    That's a nice script however it really is just simple to put the code where is looks to see if it is primary or not. That's all I did on...

    MCSE SQL Server 2012\2014\2016

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