VC++ ADO,怎样读取ORACLE数据库的CLOB字段的相关推荐
1个回答
推荐于2016-09-25
展开全部
Visual Basic code?
123456789101112 Dim cn As New ADODB.ConnectionDim cmd As New ADODB.CommandDim rst As New ADODB.RecordsetDim j As Integercn.Open "Provider=MSDAORA.1;User ID=as;password=342;Data Source=192.168.0.1;Persist Security Info=False"'Set cmd.ActiveConnection = cn'cmd.Source = "select * from table" rst.ActiveConnection = cn rst.LockType = adLockOptimistic rst.Source = "select STATIONID from table" rst.CursorLocation = adUseClient rst.Open "select * from table",cn
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询