>Anyone know of a utility to generate a CREATE CURSOR command from a table structure? I thought I've run across one over the years, but I can't find it now. This is just a one-time thing I could do manually, but there are a lot of fields in the table, so if there is a utility out there, I'll use it.
>
>Thanks.
Check COPY STRUCTURE EXTENDED command in Help. It has the example.
It will be a permanent table, not a cursor, though.
If it's not broken, fix it until it is.
My Blog