Hi,
I've got a data adapter connection in SSIS VB script to connect to an Oracle 9I database that is encoded with US7ASCII that is returning ? for french characters. I've tried using the convert function in the command text but it's not helping.
Here is how I'm connecting.
Dim oQuery As String
Dim oDa As New OracleClient.OracleDataAdapter
Dim oCmd As New OracleClient.OracleCommand
Dim oDs As New DataSet
Dim oCon As New OracleClient.OracleConnection
oCon.ConnectionString = "Data Source=SERVER;User Id=USER;Password=PASSWORD"
oquery = "select fieldA, convert(fieldA,(tried all the different encodings), US7ASCII) from tableA)
oCmd = New OracleClient.OracleCommand(oQuery, oCon)
oCon.Open()oDa = New OracleClient.OracleDataAdapter(oCmd.CommandText, oCon)
oDa.Fill(oDs, "RES")
oCon.Close()
I've added system.data.oracleclient as a reference
Everything is working fine retrieving the data except the characters not coming across properly. Anyone have any ideas?
Sincerely,
Tar