正文

Connection Managers and Substitution Parameters for Queries Conn

(2006-01-12 06:56:28) 下一個
The original comes from http://www.sqljunkies.com/WebLog/knight_reign/archive/2005/10/05/17016.aspx Connection Managers and Substitution Parameters for Queries Connection Manager Type Parameter Marker Parameter Name Example Query Example Parameter Name OLEDB ? 0 1 … SELECT Name FROM People WHERE Name LIKE ? 0 ADO.Net @Varname @Varname SELECT Name FROM people WHERE Name LIKE @Name @Name ADO ? @Param1 @Param2 … SELECT Name From People WHERE Name LIKE ? @Param1 ODBC ? 1 2 … SELECT Name FROM People WHERE Name Like ?
[ 打印 ]
閱讀 ()評論 (1)
評論
目前還沒有任何評論
登錄後才可評論.