Click here to Skip to main content
15,895,283 members
Home / Discussions / Database
   

Database

 
GeneralRe: Query using multiple columns in IN Clause Pin
PIEBALDconsult31-Jul-08 6:45
mvePIEBALDconsult31-Jul-08 6:45 
GeneralRe: Query using multiple columns in IN Clause Pin
CodalcoholicNBrainy31-Jul-08 21:20
CodalcoholicNBrainy31-Jul-08 21:20 
GeneralRe: Query using multiple columns in IN Clause Pin
PIEBALDconsult1-Aug-08 3:14
mvePIEBALDconsult1-Aug-08 3:14 
AnswerRe: Query using multiple columns in IN Clause Pin
Blue_Boy31-Jul-08 1:54
Blue_Boy31-Jul-08 1:54 
Questioncreating a pivot table Pin
prithaa30-Jul-08 22:06
prithaa30-Jul-08 22:06 
AnswerRe: creating a pivot table Pin
Ashfield30-Jul-08 22:18
Ashfield30-Jul-08 22:18 
GeneralRe: creating a pivot table Pin
prithaa31-Jul-08 2:35
prithaa31-Jul-08 2:35 
GeneralRe: creating a pivot table Pin
prithaa31-Jul-08 3:12
prithaa31-Jul-08 3:12 
Hello,

Before posing question even I have googled on pivot query,pivot sql query but none of the sites explained the synttax abut making a new table from a pivot query .And that's the reason I asked the question .I know the pivot query but how make a table of the results from the query.
Using INTO for the pivot query didn't work.

The following query works but I want to make a table

TRANSFORM sum(cCapacity) AS SumOfCapacity
SELECT jobworker, sum(cCapacity) AS Total
FROM cCapacity
GROUP BY JObWorker
PIVOT contract into y;


Thanks and sorry.

Pritha
GeneralRe: creating a pivot table Pin
TheFM23431-Jul-08 7:44
TheFM23431-Jul-08 7:44 
GeneralRe: creating a pivot table Pin
prithaa31-Jul-08 18:51
prithaa31-Jul-08 18:51 
QuestionHow to fetch data from an Excel sheet,for a particular row.? Pin
guriqbal8730-Jul-08 20:39
guriqbal8730-Jul-08 20:39 
AnswerCross Post!! Pin
ChandraRam30-Jul-08 23:33
ChandraRam30-Jul-08 23:33 
QuestionSQL table field Pin
kirthikirthi30-Jul-08 19:51
kirthikirthi30-Jul-08 19:51 
AnswerRe: SQL table field Pin
Vimalsoft(Pty) Ltd30-Jul-08 20:53
professionalVimalsoft(Pty) Ltd30-Jul-08 20:53 
GeneralRe: SQL table field Pin
kirthikirthi30-Jul-08 21:14
kirthikirthi30-Jul-08 21:14 
GeneralRe: SQL table field Pin
Vimalsoft(Pty) Ltd30-Jul-08 21:36
professionalVimalsoft(Pty) Ltd30-Jul-08 21:36 
GeneralRe: SQL table field Pin
kirthikirthi30-Jul-08 21:44
kirthikirthi30-Jul-08 21:44 
GeneralRe: SQL table field Pin
Ashfield30-Jul-08 22:26
Ashfield30-Jul-08 22:26 
GeneralRe: SQL table field Pin
Vimalsoft(Pty) Ltd31-Jul-08 4:43
professionalVimalsoft(Pty) Ltd31-Jul-08 4:43 
GeneralRe: SQL table field Pin
Ashfield31-Jul-08 8:49
Ashfield31-Jul-08 8:49 
GeneralRe: SQL table field Pin
RyanEK31-Jul-08 18:23
RyanEK31-Jul-08 18:23 
GeneralRe: SQL table field Pin
Ashfield1-Aug-08 9:52
Ashfield1-Aug-08 9:52 
QuestionDynamic DB Connection based on user type Pin
vicky45730-Jul-08 19:28
vicky45730-Jul-08 19:28 
Questionin a stored procedure, can I directly write some lines to a txt file? Pin
alexyxj30-Jul-08 11:56
alexyxj30-Jul-08 11:56 
AnswerRe: in a stored procedure, can I directly write some lines to a txt file? Pin
goodideadave30-Jul-08 13:10
goodideadave30-Jul-08 13:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.