Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 CURSOR

Author  Topic 

WALTERS
Starting Member

1 Post

Posted - 2006-09-29 : 12:50:44
I don't have much experience with cursor's at all so any help would be greatly appreciated. I'm assuming this will be a very simple cursor, all i want to do is return a dataset from 1-5 rows and populate a variable from each row. Syntax seems to be throwing me off a bit. This is my select statement: SELECT fmccc_customer, fmcc_master_nbr FROM tbl_report_active_contract_header
WHERE fmccc_customer='whatevernumber' thanks again

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2006-09-29 : 13:11:19
Can you post the code you currently have, that will make it much easier for us to see what you're doing wrong.
Go to Top of Page
   

- Advertisement -