Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedures
Message
From
07/01/2002 12:28:40
 
 
To
07/01/2002 12:08:12
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00601533
Message ID:
00601550
Views:
16
Jim,
See change below

HTH
>Hello,
>
>I am trying to call a stored procedure on a SQL Server 7.0 database. The procedure accepts a parameter called name. The procedure uses a select to return records, the select statement is based on the parameter passed. If I pass part of a name (ex: Jim) the procedure returns 0 records. If I pass a full name (ex: Mr. Jim Rieck) I get one record back. The code is below, any ideas?
>
>CREATE Procedure getGuest
>(
> @Name char(50)
>)
>
> AS
> SELECT * FROM guests WHERE name like "%" + RTRIM(@name) + "%"
> return
Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform