General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How to create n sql columns dynamically
Hi readers!,
Is it possible to create n sql columns for an specific field table, let me explain a little bit more:
I have the next table:
field -----value
id ---- 1000
time ---- 0700
id ---- 1000
time ---- 1700
id ---- 1400
...and so on
and I need the syntax for sql command that produces the next result set:
id ------ m1 --- m2 --- m3 ... mn
1000 -- 0700 -- 1400 -- 1700 ...
Best Regards
Martin Alcaraz
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only