Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Stored Proceedure

Status
Not open for further replies.

Billy991

Programmer
Aug 11, 2004
8
0
0
GB
I have limited knowledge of sql quiries and am trying to
do the following:-
I have a langage table with cols
langID : VariName : word
I need to create a stored procedure which I only pass in
the langID as Int but this will select numerous word
matching a pre defined list of VariName (i.e.
strlabel1,strlabel2,strlabel3)
I have tried
select word from languagewords
where
landID = 1
and
VariName = 'strlabel1'
--------------------
My problem is that I need to see a multiple select
statement so that when I map this SP from Crystal reports
it will show all the returns so I can map to different
parts of the report
.
 
Your question isn't clear. Maybe example row data and the appearance of desired report would help.
-Karl

[red] Cursors, triggers, user-defined functions and dynamic SQL are an axis of evil![/red]
[green]Life's uncertain...eat dessert first...www.deerfieldbakery.com[/green]
 
Thankyou for you response,
I have now found a solution.
Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top