Click here to Skip to main content
15,920,030 members
Home / Discussions / Database
   

Database

 
GeneralGenerating ERD.....! Pin
wEb GuRu...29-Jul-05 22:30
wEb GuRu...29-Jul-05 22:30 
GeneralSQL Base Pin
albCode29-Jul-05 21:00
albCode29-Jul-05 21:00 
GeneralProblem with Query Pin
Anonymous29-Jul-05 7:19
Anonymous29-Jul-05 7:19 
GeneralRe: Problem with Query Pin
Guffa29-Jul-05 8:19
Guffa29-Jul-05 8:19 
GeneralRe: Problem with Query Pin
Anonymous29-Jul-05 10:03
Anonymous29-Jul-05 10:03 
GeneralEncrypting DDL Pin
mtone29-Jul-05 7:06
mtone29-Jul-05 7:06 
GeneralRe: Encrypting DDL Pin
Scott Serl29-Jul-05 14:23
Scott Serl29-Jul-05 14:23 
GeneralRe: Encrypting DDL Pin
Mike Dimmick31-Jul-05 10:33
Mike Dimmick31-Jul-05 10:33 
How to decrypt stored procedures[^].

The SQL Server 2000 stored procedure encryption suffers a fundamental flaw - if you have a known plaintext and the corresponding ciphertext, you can deduce the key. You can then decrypt any other ciphertext using the same key. When you use ALTER PROCEDURE, the same key is used as for the original procedure.

You can save the encrypted procedure text you're trying to decrypt by accessing the syscomments table. You can then ALTER PROCEDURE to a known plaintext, read back the new ciphertext and deduce the key. You can then decrypt the original.

I don't know if this is improved in SQL Server 2005.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: Encrypting DDL Pin
Scott Serl31-Jul-05 11:31
Scott Serl31-Jul-05 11:31 
GeneralRecords appear out of order Pin
Andrew Hain28-Jul-05 23:23
Andrew Hain28-Jul-05 23:23 
GeneralRe: Records appear out of order Pin
Marc Soleda29-Jul-05 0:55
Marc Soleda29-Jul-05 0:55 
GeneralRe: Records appear out of order Pin
Andrew Hain29-Jul-05 5:13
Andrew Hain29-Jul-05 5:13 
GeneralRe: Records appear out of order Pin
Toni7830-Jul-05 16:08
Toni7830-Jul-05 16:08 
QuestionBest Aproach When Working with Crystal Reports .Net? Pin
korso_rogan28-Jul-05 21:34
korso_rogan28-Jul-05 21:34 
GeneralImport Data Pin
cberam28-Jul-05 19:10
cberam28-Jul-05 19:10 
GeneralDate Format in the Database Pin
Anonymous28-Jul-05 19:09
Anonymous28-Jul-05 19:09 
GeneralComplex update Pin
Luis Alonso Ramos28-Jul-05 9:20
Luis Alonso Ramos28-Jul-05 9:20 
GeneralRe: Complex update Pin
Edbert P28-Jul-05 13:25
Edbert P28-Jul-05 13:25 
GeneralRe: Complex update Pin
Luis Alonso Ramos28-Jul-05 13:29
Luis Alonso Ramos28-Jul-05 13:29 
GeneralRe: Complex update Pin
Edbert P28-Jul-05 13:34
Edbert P28-Jul-05 13:34 
GeneralRe: Complex update Pin
Luis Alonso Ramos28-Jul-05 13:42
Luis Alonso Ramos28-Jul-05 13:42 
GeneralRe: Complex update Pin
Edbert P28-Jul-05 13:54
Edbert P28-Jul-05 13:54 
GeneralRe: Complex update Pin
Luis Alonso Ramos28-Jul-05 14:03
Luis Alonso Ramos28-Jul-05 14:03 
QuestionHow to open a sql 2005 database in sql server 2005 Pin
playout28-Jul-05 1:26
playout28-Jul-05 1:26 
AnswerRe: How to open a sql 2005 database in sql server 2005 Pin
Not Active29-Jul-05 11:54
mentorNot Active29-Jul-05 11:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.