Hi i want to learn which one is better to use ADODB or sql procedure?
there is code below explain it.
thank you.
ADODB connection ;
rs.open "select * from mytable",cnn
sql procedure ;
With Cmd
.CommandType = adCmdStoredProc
.CommandText = "mytable_list"
Set .ActiveConnection = cnn
Set rst = .Execute
End With
Set Cmd = Nothing
there is code below explain it.
thank you.
ADODB connection ;
rs.open "select * from mytable",cnn
sql procedure ;
With Cmd
.CommandType = adCmdStoredProc
.CommandText = "mytable_list"
Set .ActiveConnection = cnn
Set rst = .Execute
End With
Set Cmd = Nothing