Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 .NET Inside SQL Server (2005)
 data type to save encrypted text

Author  Topic 

balajiie
Starting Member

7 Posts

Posted - 2011-03-15 : 03:50:49
Hi,

I've read and encrypted a file using RC4 algorithm.

Now I've to save this encrypted content in db sing sqlserver.

If the File content s little then its possible to save as varchar.

Otherwise ti shows some error.

Thanks in Advance

All is well
Balaji

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2011-03-15 : 05:33:41
If the data you are entering is compatible and working with varchar then use varchar(max) as your datatype. If this doesn't work please post the error you are getting.

- Lumbago
My blog-> http://thefirstsql.com/2011/02/07/regular-expressions-advanced-string-matching-and-new-split-function-sql-server-2008-r2/
Go to Top of Page
   

- Advertisement -