When I add a new data field in a Stored Procedure, how do I make the new field available to the Crystal Report?
Hi. I want to create a stored procedure whereby the variable comes after the LIKE operator. For example, the code would look something like this: CREATE PROCEDURE SPFIND @VARIABLE1 VARCHAR SELECT * FROM TABLE1 WHERE FIELD1 LIKE ‘%@VARIABLE1%’ Then to execute the procedure, EXEC SPFIND ‘VARIABLENAME’ I can’t get this to work using the LIKE [...]
I am a newbie when it comes to passing parameters to a control. I am programing in VS 2008 using VB as the language. The grid is in an ASP.Net (3.5) page I have set up a store proceduer in SQL Server 2005 as follows: CREATE PROCEDURE usp_selEmpSSN–Transfer all records from tbl_CL with the [...]
how to match the datatype of the field that is in database and the datatype of the variable that holds the value of the returned value from database using stored procedure.
In a stored procedure, I’m storing the result of a select statement in @variable. Is there a way to capture a SQL Code 100, like Oracle’s SQLERRM(100)/ORA-01403 if no records are returned? I’m currently setting @variable = ‘*’ before the select and and IF @variable = ‘*’ afterwards, but there must be a more elegant [...]
Hi Greg, I am using SQL queries as in-script and now decided to use them as stored procedure. I am facing some problem while converting them into stored procedures. It’s a book search functionality based on book name and author name. My Old SQL query, which I was using with asp. SQL = “Select * [...]





