x

[Closed] Stored Proc Loop

Changed direction here. Thanks for viewing.
more ▼

asked Jul 28 '11 at 07:56 AM in Default

redder gravatar image

redder
158 13 21 23

@Redder - I am not too sure what you are trying to achieve with this process. The explanation regarding swapping Field1 for FieldN is quite confusing.

Maybe you could try re-phrasing the question, telling us what it is you are trying to achieve. It would be even better if you could supply us with table creation scripts, a set of sample data and the expected output.
Jul 29 '11 at 01:19 AM WilliamD
Dynamic SQL mebbe?
Jul 29 '11 at 01:55 AM Fatherjack ♦♦
@fatherjack - possibly, let us see what @redder really wants to do
Jul 29 '11 at 02:58 AM WilliamD
(comments are locked)
10|1200 characters needed characters left

The question has been closed Aug 01 '11 at 01:42 PM by Fatherjack for the following reason:


2 answers: sort voted first

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x402

asked: Jul 28 '11 at 07:56 AM

Seen: 431 times

Last Updated: Aug 01 '11 at 01:14 PM