使用 msado15.tlh,链接Microsoft SQL Server,执行句法(syntax)的时候出现IDispatch error #3092的错误。
select * from table where table.column1=1 UPDATE table SET table.value = '53.74' WHERE id=100003
insert into table([column1],[column2]) values(1,2)
select * from table where table.column1='smqh'
select 、INSERT 、update 、Delete、create、drop、reload、shutdown、process、File、Grant Option、References、Index、Alter、Show Datebases、super、Create temporary Tables、Lock Tables、execute、replication slave 、replication client 、Create view、show view、Create routine、Alter routine、Create user、Event、Trigger、user、value、values、count、sum、、Where、from、in、left、right、inner、join、order、by、then、if、while、do、end、begin、produce、function、group、outer、cross、and、or、like、full、as、on、in、having、day、month、now、interval、INTO、commit、DECLARE、SET、int、double、between、is、null、varchar、dateTime、current_date、day_second、call、date_add、instr、length、concat、current_timestamp、prepare、、CHAR_LENGTH、REPLACE、SUBSTRING_INDEX、curdate、condition、for、continue、handler、last_insert_id等等
value、user、info 等等
目标数据库是不是大小写敏感,最好是表名、字段名 与目标数据库大小写一致(请仔细核对)。
目标数据库能否识别你数据库中文(最好使用ASCII 0~127之间的字符,以防万一你的编码与目标数据库编码不一致导致判断你的表明是错误,字段也是错的)
一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!
二、互相尊重,对自己的言论和行为负责。