谁知道怎么操作SQL server
中文的没有找到资料,不知道哪位高手可以指导下小弟哦[ 本帖最后由 vvvvy 于 2008-9-17 22:25 编辑 ] Dim $hardware = "cur_user"
$conn = ObjCreate("ADODB.Connection")
$RS = ObjCreate("ADODB.Recordset")
$conn.Open("driver={SQL Server};server=192.168.0.254;uid=netcafe;pwd=pubwin;database=local")
$RS.ActiveConnection = $conn
$RS.open("SELECT * FROM cur_user")
While (Not $RS.eof And Not $RS.bof)
;msgbox .......................................
EndIf
$RS.movenext
WEnd
$RS.close 顶你啊 怎么写的啊 正在学习这个谢谢 回复 2# tvzml Dim $hardware = "cur_user"
$conn = ObjCreate("ADODB.Connection")
$RS = ObjCreate("ADODB.Recordset")
$conn.Open("driver={SQL Server};server=192.168.1.198;uid=sa;pwd=sa;database=cx")
$RS.ActiveConnection = $conn
$RS.open("SELECT * FROM sys")
While (Not $RS.eof And Not $RS.bof)
;~ msgbox .......................................
WEnd
$RS.movenext
$RS.close 好东西学习了
页:
[1]