我有表学生有ID,FirstName,LastName列。根据Sql Server 2008中的选定列进行搜索
Student Table - ID, FirstName, LastName
我会将ColumnName和searchText传递给过程。
e.g. ColumnName=FirstName, SearchText="John"
And the procedure will return the records having FirstName as John.
如何为此编写程序?
好了,多少你知道有关存储过程这么远?你到目前为止写过任何代码吗? – hol 2013-04-28 15:10:39