Forum Replies Created

Viewing 15 posts - 1 through 15 (of 212 total)

  • RE: XQuery Help

    I know this question is 2 years old, but thought I would answer it anyway.

    I don't think you can 'ignore' the namespace, and your best bet may be to use...

  • RE: Stairway to XML: Level 9 - Creating XML-Based Functions

    Very cool solutions. Great article.

  • RE: Index defaults 2

    Toby Harman (6/26/2012)


    You have two answers that are potentially correct here.

    None, and None unless the rest of the command specifies one.

    Shame I picked the wrong one!

    Edit: I stand corrected. The...

  • RE: NULLIF 1

    paul.knibbs (6/26/2012)


    I'd agree with Michael--this question seemed to be unnecessarily obfuscated and was more about reading comprehension than anything SQL related, IMHO.

    Agreed. The question is poorly constructed, with part...

  • RE: linked server

    sp_linkedservers

  • RE: Calling Throw within If block

    You were right in that the syntax requires the preceding line to be terminated with a semi-colon. The way it is presented implies the line containing THROW must lead with...

  • RE: Show data from DB on top of each page

    I think a text box inside of a list object may give you the solution. Have you googled this at all? I found a couple of links that...

  • RE: Modify XML attribute value based on matching data

    set @p1.modify('replace value of (/Data/Datas/Item[@primaryKeyId = ("12")]/ExtraDetails/Column/@salary)[1] with 1200')

    set @p1.modify('replace value of (/Data/Datas/Item[@primaryKeyId = ("14")]/ExtraDetails/Column/@salary)[1] with 1200')

  • RE: add element with a prefix to an existing xml using sql server

    Yes. Can you show me the complete XML string, including the namespace?

  • RE: Making password case insensitive

    There is no way to override that security feature. You could put an application between whatever program the users are using to log into SQL Server with, and have...

  • RE: Encryption/Decryption

    asm1212 (5/30/2012)


    Apparently I need a crash course on encryption...This gets really confusing...

    I am not sure how I will move forward but I will somehow someway! lol

    Thanks to all that have...

  • RE: Encryption/Decryption

    Actually, it seems like your immediate error is resulting from not converting the result of the KEY_GUID() function. Convert the value to VARCHAR:

    OPEN SYMMETRIC KEY Key_01

    DECRYPTION BY CERTIFICATE DatabaseA01

    UPDATE...

  • RE: Encryption/Decryption

    Ok I ran the above statement when I was trying to figure out how to decrypt the existing values before I posted on here...But I kept getting an error...however, I...

  • RE: What has to be installed to develop new reports?

    She can use her own copy of Visual Studio, and develop reports locally, and connect to the production Reporting Services server to upload the new reports.

  • RE: Encryption/Decryption

    This statement simply encrypts EXISTING SSNs:

    OPEN SYMMETRIC KEY Key_01

    DECRYPTION BY CERTIFICATE DatabaseA01

    UPDATE dbo.TableA

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

    CLOSE SYMMETRIC KEY Key_01

    If new records are being encrypted as they are added, you...

Viewing 15 posts - 1 through 15 (of 212 total)