Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


adapting the solution---sooo desperate :(


adapting the solution---sooo desperate :(

Author
Message
delta dirac
delta dirac
Grasshopper
Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)

Group: General Forum Members
Points: 22 Visits: 54
hi ,
i am an electronics engineer and i just have the general knowledge about sql server 2005(i am not too bad i am immediate), but i couldn't adapt your dynamic cross tab sp ,according to my problem if you help me i will very very appreciate and even i will pray for you Smile promiseSmile cause i am desperate and helpless about this, here is my problem:

i have just one table, named "collector" and the columns are:

ledno(nvarchar(50))' the item number of a kind of led(a mini light source) which we use
ledname(nvarchar(50))' the name of the leds
quantity(int) ' how many leds we use on that part
partname(nvarchar(50) 'the parts name

and i want it to be this way;

ledno ledname partname(part name goes dynamically according to our records(the header))
202.a led-a 3 '(this is the total led-a used in the correct partname)

205.b led-b 6'(this is the total led-b used in the correct partname)


and the "partname" header musn't repeat itself (your sp does it well) i hope i am able to tell my problem, i know it's simple for you but i couldn't manage may self, thanks again.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search