Forum Replies Created

Viewing 15 posts - 46 through 60 (of 129 total)

  • RE: Encryption/Decryption

    It was set by ENCRYPTBYKEY...

    Yes I stored it as a VARBINARY...

    Here is how I set it up:

    OPEN SYMMETRIC KEY Key_01

    DECRYPTION BY CERTIFICATE DatabaseA01

    UPDATE dbo.TableA

    SET SSN = ENCRYPTBYKEY(KEY_GUID('Key_01'), SSN)

    CLOSE SYMMETRIC KEY...

  • RE: Database Design

    Yeah you are correct...

    As I was going through it and thinking about it, I was like Why am I putting that information twice? That information is going to be in...

  • RE: Getting DATEDIFF from 2 separate rows...

    Thank you so much...That worked to perfection!

  • RE: Not sure how to...

    Again I thank you for your response!

    This all was getting put into a temp table so when I modified the INSERT INTO my temp table to add the ROW_NUMBER()...

  • RE: Not sure how to...

    I just tried the above UPDATE statement...

    But got the error: Subquery returned more than 1 value. This is not permitted when the subquery follows =, so on or when...

  • RE: Not sure how to...

    Thank you...That is exactly how I need it to look...

    However Im not very familiar with the ROW NUMBER (), OVER PARTITION BY statement and how would I use that in...

  • RE: Data mining

    Thank you very much for your help on this query! I really do appreciate it!

  • RE: Data mining

    How would you account for spaces in the last name?

  • RE: Data mining

    Oh ok...didnt know that!

    Thanks

  • RE: Data mining

    @roryp 96873

    So do I use NOT LIKE instead of LIKE since Im trying to find those with special characters?

  • RE: Data mining

    So if Im looking for those that do have a number or some other character in it, do I need to put NOT LIKE instead of LIKE?

  • RE: Data mining

    Thank you for your response!

  • RE: New package that I have to create...HELP?

    Here is what it would look like when I try to INSERT INTO my Columns table

    sp_MSForEachDB 'INSERT INTO DWMeta.dbo.DWColumns

    ( TableID,

    ColumnName ,

    DataType ,

    IsPrimaryKey,

    BusinessDescription,

    UserAdded ,

    DateAdded ,

    UserEdited ,

    DateEdited ,

    Active

    )

    SELECT db_id(''?''), -- Would it...

  • RE: New package that I have to create...HELP?

    That is what I did when I said it didnt work for me...I just changed the columns for what the Columns table used and used ? information_schema.columns

    it threw me that...

  • RE: New package that I have to create...HELP?

    Im sorry I think I confused you...

    The script there is for INSERTING INTO my Tables table...I have already accomplished that...

    Now Im trying to INSERT INTO my Columns table...

Viewing 15 posts - 46 through 60 (of 129 total)