hi to all teachers,...
Friends who write in the query mode Full text Search in Sql
Server have experience
Who make(Convert) this Stored Procedure as a normal Full
text Search, which contains and .. Is used, into
Advance of the tips I have thanked all friends perfection.
Email : rezaafandi@yahoo.com
Create PROCEDURE Sp_student
@fname varchar(50),
@lname varchar(50),
@tel varchar(50),
@code varchar(50),
@adr varchar(50),
@search_operation varchar(50),
@totalRowCount bigint output
AS
begin
if @search_operation = 'and'
begin
SELECT f3,f4,f5,f6,f7 FROM tb_student
WHERE(
f5 like '%' + @fname + '%' and
f4 like '%' + @lname + '%' and
f6 like '%' + @tel + '%' and
f7 like '%' + @code + '%' and
f3 like '%' + @adr +'%'
)
select @totalRowCount = @@rowcount
end
No Answer is Posted For this Question
Be the First to Post Answer
How to check if a table is being used in sql server?
What does null mean?
Some queries related to SQL
Differences between Standby Vs No recovery?
As a part of your job, what are the DBCC commands that you commonly use for database maintenance?
What are the underflow and overflow behaviors on float literals?
What is store procedure? When do you use?
How to enforce security in sql server? : sql server security
How to delete the duplicate rows from a table in SQL Server ??
How do you use a subquery to find records that exist in one table and do not exist in another?
What is an execution plan? When would you use it? How would you view the execution plan?
What is a transaction and why is it important?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)