Re: where does '129' mean in conn.execute sql, , 129
From: Chris Hohmann (nospam_at_thankyou.com)
Date: 03/23/05
- Next message: Jason Chan: "Re: where does '129' mean in conn.execute sql, , 129"
- Previous message: Jason Chan: "where does '129' mean in conn.execute sql, , 129"
- In reply to: Jason Chan: "where does '129' mean in conn.execute sql, , 129"
- Next in thread: Jason Chan: "Re: where does '129' mean in conn.execute sql, , 129"
- Reply: Jason Chan: "Re: where does '129' mean in conn.execute sql, , 129"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Mar 2005 22:09:07 -0800
"Jason Chan" <no@mail.com> wrote in message
news:es8M4v2LFHA.3380@TK2MSFTNGP15.phx.gbl...
>I read aspfaq, and saw almost all execute statement have options 129
> i.e. conn.execute sql, , 129
>
> But what does 129 mean in statment?
> can I simple write conn.execute sql?
>
>
The third parameter of the ConnectionExecute method is the options
parameter. Specifically, it represents a bitmask of the CommandType and
ExecutionOption values.
129 = 1 + 128
1 = adCmdText which indicates that the command is sql text versus say a
table name or a stored procedure name.
128 = adExecuteNoRecords which indicates that the command does not return
any records which is the case for DML statements such as
UPDATE/INSERT/DELETE.
Here's a link to the documentation for the Connection.Execute method:
http://msdn.microsoft.com/library/en-us/ado270/htm/mdmthcnnexecute.asp
- Next message: Jason Chan: "Re: where does '129' mean in conn.execute sql, , 129"
- Previous message: Jason Chan: "where does '129' mean in conn.execute sql, , 129"
- In reply to: Jason Chan: "where does '129' mean in conn.execute sql, , 129"
- Next in thread: Jason Chan: "Re: where does '129' mean in conn.execute sql, , 129"
- Reply: Jason Chan: "Re: where does '129' mean in conn.execute sql, , 129"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|