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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by BritDBA

  1. BritDBA

    Creating a cursor using results from CTE

    Hi KFlasph, Yes you can use a CTE in the select statement of a cursor defintion. Just create the CTE first and verify that it works correctly and give you the results that you want. Next add the DECLARE CURSOR statement immediately before the WITH statment: DECLARE cur_TestCURSOR FOR...

Part and Inventory Search

Back
Top