Click here to Skip to main content
15,908,675 members
Home / Discussions / Database
   

Database

 
GeneralRe: Sql Doubt Pin
rajanandal15-Dec-09 2:53
rajanandal15-Dec-09 2:53 
GeneralRe: Sql Doubt Pin
dxlee15-Dec-09 4:27
dxlee15-Dec-09 4:27 
AnswerRe: Sql Doubt Pin
Niladri_Biswas15-Dec-09 15:18
Niladri_Biswas15-Dec-09 15:18 
GeneralRe: Sql Doubt Pin
rajanandal15-Dec-09 23:28
rajanandal15-Dec-09 23:28 
QuestionSQL Between Stored Proc Pin
Illegal Operation14-Dec-09 18:08
Illegal Operation14-Dec-09 18:08 
AnswerRe: SQL Between Stored Proc Pin
Niladri_Biswas14-Dec-09 18:15
Niladri_Biswas14-Dec-09 18:15 
AnswerRe: SQL Between Stored Proc Pin
Andy_L_J14-Dec-09 18:36
Andy_L_J14-Dec-09 18:36 
Questionssis script component Pin
Ebube14-Dec-09 4:24
Ebube14-Dec-09 4:24 
i have table A with field password varchar(15), am migtrating the data to password in another table datatype varbinary with script component transformation. i set the password to byte stream

i have this code to encrypt the password so i can store it as varbinary

Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer)
'
' Add your code here
'
Try
Dim hashBytes As Byte()
Dim encoding As New UnicodeEncoding
hashBytes = encoding.GetBytes(Row.app)
Dim sha As New SHA1CryptoServiceProvider
Dim crpytPassword As Byte() = sha.ComputeHash(hashBytes)
Row.passout = crpytPassword
Catch ex As Exception
End Try
End Sub
but am getting this error

[AccountProfile New Destination [16]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Invalid character value for cast specification".

[AccountProfile New Destination [16]] Error: There was an error with input column "pass" (88) on input "OLE DB Destination Input" (29). The column status returned was: "The value could not be converted because of a potential loss of data.".

thanks
QuestionRe: ssis script component Pin
Unforgiv3n17-Dec-09 20:50
Unforgiv3n17-Dec-09 20:50 
QuestionCan VS support Ruby on Rails -like database migrations? Pin
GarethHowell14-Dec-09 2:40
GarethHowell14-Dec-09 2:40 
AnswerRe: Can VS support Ruby on Rails -like database migrations? Pin
i.j.russell14-Dec-09 9:07
i.j.russell14-Dec-09 9:07 
Questionwhere clause in sql [modified] Pin
AndyInUK14-Dec-09 0:22
AndyInUK14-Dec-09 0:22 
AnswerRe: where clause in sql Pin
David Skelly14-Dec-09 0:34
David Skelly14-Dec-09 0:34 
GeneralRe: where clause in sql Pin
AndyInUK14-Dec-09 0:39
AndyInUK14-Dec-09 0:39 
AnswerRe: where clause in sql Pin
Luc Pattyn14-Dec-09 1:29
sitebuilderLuc Pattyn14-Dec-09 1:29 
GeneralRe: where clause in sql Pin
AndyInUK14-Dec-09 1:31
AndyInUK14-Dec-09 1:31 
GeneralRe: where clause in sql Pin
Eddy Vluggen14-Dec-09 1:40
professionalEddy Vluggen14-Dec-09 1:40 
GeneralRe: where clause in sql Pin
Luc Pattyn14-Dec-09 1:59
sitebuilderLuc Pattyn14-Dec-09 1:59 
GeneralRe: where clause in sql Pin
Niladri_Biswas14-Dec-09 18:12
Niladri_Biswas14-Dec-09 18:12 
QuestionDSn Creation through SQLConfigDataSource() funciton Pin
Durga_Devi14-Dec-09 0:19
Durga_Devi14-Dec-09 0:19 
QuestionHow to identify the ID of row which has been modified? Pin
Member 470414312-Dec-09 13:26
Member 470414312-Dec-09 13:26 
AnswerRe: How to identify the ID of row which has been modified? Pin
dan!sh 12-Dec-09 18:49
professional dan!sh 12-Dec-09 18:49 
AnswerRe: How to identify the ID of row which has been modified? Pin
Mycroft Holmes13-Dec-09 13:44
professionalMycroft Holmes13-Dec-09 13:44 
AnswerRe: How to identify the ID of row which has been modified? Pin
Member 450194017-Dec-09 8:11
Member 450194017-Dec-09 8:11 
QuestionInvalid Object Name : 'sysdatabases' Pin
VikashGohil11-Dec-09 20:11
VikashGohil11-Dec-09 20:11 

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.