- ©«¤l
- 3
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 9
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- SP3
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2012-2-2
- ³Ì«áµn¿ý
- 2020-5-14
|
'Microsoft ActiveX Data Objects 2.X Library ³]©w¤Þ¥Î¶µ¥Ø
Dim myCon As New ADODB.Connection
Dim myRst As New ADODB.Recordset
'«ü©wn³s±µªº¦øªA¾¹
myCon.Open ConnectionString:="server=AAA;db=AAA;driver=MySQL ODBC 3.51 Driver;uid=AAA;pwd=AAA"
'°õ¦æSQL
mysql = "delete from table_name"
Set myRst = myCon.Execute(mysql)
myCon.Close
Set myRst = Nothing 'ª«¥óªºÄÀ©ñ
Set myCon = Nothing |
|