#[repr(u16)]pub enum ProcId {
Show 15 variants
Cursor = 1,
CursorOpen = 2,
CursorPrepare = 3,
CursorExecute = 4,
CursorPrepExec = 5,
CursorUnprepare = 6,
CursorFetch = 7,
CursorOption = 8,
CursorClose = 9,
ExecuteSql = 10,
Prepare = 11,
Execute = 12,
PrepExec = 13,
PrepExecRpc = 14,
Unprepare = 15,
}Expand description
Well-known stored procedure IDs.
These are special procedure IDs that SQL Server recognizes without requiring the procedure name.
Variants§
Cursor = 1
sp_cursor (0x0001)
CursorOpen = 2
sp_cursoropen (0x0002)
CursorPrepare = 3
sp_cursorprepare (0x0003)
CursorExecute = 4
sp_cursorexecute (0x0004)
CursorPrepExec = 5
sp_cursorprepexec (0x0005)
CursorUnprepare = 6
sp_cursorunprepare (0x0006)
CursorFetch = 7
sp_cursorfetch (0x0007)
CursorOption = 8
sp_cursoroption (0x0008)
CursorClose = 9
sp_cursorclose (0x0009)
ExecuteSql = 10
sp_executesql (0x000A) - Primary method for parameterized queries
Prepare = 11
sp_prepare (0x000B)
Execute = 12
sp_execute (0x000C)
PrepExec = 13
sp_prepexec (0x000D) - Prepare and execute in one call
PrepExecRpc = 14
sp_prepexecrpc (0x000E)
Unprepare = 15
sp_unprepare (0x000F)
Trait Implementations§
impl Copy for ProcId
impl Eq for ProcId
impl StructuralPartialEq for ProcId
Auto Trait Implementations§
impl Freeze for ProcId
impl RefUnwindSafe for ProcId
impl Send for ProcId
impl Sync for ProcId
impl Unpin for ProcId
impl UnwindSafe for ProcId
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)