Click here to Skip to main content
15,914,323 members
Home / Discussions / Database
   

Database

 
AnswerRe: TableAdapter Insert Query - a mystery Pin
dmagnant4-Oct-07 9:57
dmagnant4-Oct-07 9:57 
QuestionProblem with local website after using SSMSE to access the database Pin
Sunset Towers4-Oct-07 8:13
Sunset Towers4-Oct-07 8:13 
QuestionHow to fetch the no of records retrieved thru FULLTEXT Pin
s.sathyanarayanan4-Oct-07 8:12
s.sathyanarayanan4-Oct-07 8:12 
AnswerRe: How to fetch the no of records retrieved thru FULLTEXT Pin
Joe4-Oct-07 9:05
Joe4-Oct-07 9:05 
GeneralRe: How to fetch the no of records retrieved thru FULLTEXT Pin
s.sathyanarayanan4-Oct-07 9:11
s.sathyanarayanan4-Oct-07 9:11 
GeneralRe: How to fetch the no of records retrieved thru FULLTEXT Pin
Joe4-Oct-07 19:30
Joe4-Oct-07 19:30 
GeneralRe: How to fetch the no of records retrieved thru FULLTEXT Pin
Vasudevan Deepak Kumar4-Oct-07 19:43
Vasudevan Deepak Kumar4-Oct-07 19:43 
QuestionHow do we select only those columns that aren`t null Pin
NetBot4-Oct-07 8:06
NetBot4-Oct-07 8:06 
AnswerRe: How do we select only those columns that aren`t null Pin
Joe4-Oct-07 8:57
Joe4-Oct-07 8:57 
GeneralRe: How do we select only those columns that aren`t null Pin
PIEBALDconsult4-Oct-07 9:32
mvePIEBALDconsult4-Oct-07 9:32 
AnswerRe: How do we select only those columns that aren`t null Pin
PIEBALDconsult4-Oct-07 9:38
mvePIEBALDconsult4-Oct-07 9:38 
AnswerRe: How do we select only those columns that aren`t null Pin
Pete O'Hanlon4-Oct-07 10:48
mvePete O'Hanlon4-Oct-07 10:48 
AnswerRe: How do we select only those columns that aren`t null Pin
GuyThiebaut5-Oct-07 9:32
professionalGuyThiebaut5-Oct-07 9:32 
Questionhow to create a local search engine? Pin
LyndonJohn4-Oct-07 7:40
LyndonJohn4-Oct-07 7:40 
AnswerRe: how to create a local search engine? Pin
Joe4-Oct-07 8:43
Joe4-Oct-07 8:43 
JokeRe: how to create a local search engine? Pin
PIEBALDconsult4-Oct-07 9:46
mvePIEBALDconsult4-Oct-07 9:46 
GeneralRe: how to create a local search engine? Pin
LyndonJohn5-Oct-07 7:24
LyndonJohn5-Oct-07 7:24 
QuestionMS Access 2003 and Triggers Pin
Ryno Burger4-Oct-07 7:17
Ryno Burger4-Oct-07 7:17 
Questionproblem with date calculation Pin
ahmed_fci20064-Oct-07 1:39
ahmed_fci20064-Oct-07 1:39 
AnswerRe: problem with date calculation Pin
pmarfleet4-Oct-07 4:16
pmarfleet4-Oct-07 4:16 
AnswerRe: problem with date calculation Pin
Blue_Boy4-Oct-07 4:22
Blue_Boy4-Oct-07 4:22 
Questiongroup by problem(plz help me) Pin
Arihant rathi4-Oct-07 1:31
Arihant rathi4-Oct-07 1:31 
hi i m ajay rathi..i m facing a problem in group by clause in sql query..plz any one of u help me

The problem is... following are 3 queries and i need to combine all three queries into one query..because this time these queries are giving me data in three table and i am showing this data in repeater in ASP.NET with SQL SERVER 2003..

select count(*)as active from tbl_Post_Job where Company_Id_Fk = 60
and Status = 'Active' and Post_Date between '01/01/2007' and '01/01/2008' group by year(Post_Date), month(Post_Date)

select count(*)as billed from tbl_Post_Job where Company_Id_Fk = 60
and Status = 'Inactive' and Post_Date between '01/01/2007' and '01/01/2008'
group by year(Post_Date), month(Post_Date)

select count(*)as billed , month(Post_Date) as month_date ,year(Post_Date)as year_date from tbl_Post_Job where Company_Id_Fk = 60 and Status='Inactive' group by year(Post_Date), month(Post_Date)

actually the main problem i m facing is this that when i need month and year together and active postion and billed position saperatlly..
actually i need this data in following form...

Date | Active | Billed
------------------------------------
9,2007 | 4 | 8
10,2007 | 7 | 2
12,2007 | 6 | 6
------------------------------------

please if any one of you can help me it's very good for me plzzzzzzzzzzzzzz
thanks


Ajay Rathi
software engineer
NOIDA(UP),INDIA

AnswerRe: group by problem(plz help me) Pin
andyharman4-Oct-07 1:40
professionalandyharman4-Oct-07 1:40 
GeneralRe: group by problem(plz help me) Pin
Arihant rathi4-Oct-07 3:13
Arihant rathi4-Oct-07 3:13 
Questioninserting values with a nested join query Pin
anuradha.rrao4-Oct-07 1:18
anuradha.rrao4-Oct-07 1:18 

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.