Click here to Skip to main content
15,894,460 members
Home / Discussions / Database
   

Database

 
GeneralView verses Table-Values Function Pin
Werries16-Apr-08 19:53
Werries16-Apr-08 19:53 
GeneralRe: View verses Table-Values Function Pin
Ashfield16-Apr-08 21:03
Ashfield16-Apr-08 21:03 
GeneralGetting Top 5 from table of same category Pin
honeyss16-Apr-08 19:23
honeyss16-Apr-08 19:23 
GeneralRe: Getting Top 5 from table of same category Pin
ChandraRam16-Apr-08 20:08
ChandraRam16-Apr-08 20:08 
GeneralRe: Getting Top 5 from table of same category Pin
honeyss16-Apr-08 22:38
honeyss16-Apr-08 22:38 
GeneralRe: Getting Top 5 from table of same category Pin
ChandraRam17-Apr-08 1:33
ChandraRam17-Apr-08 1:33 
QuestionSql Query Pin
~V~16-Apr-08 1:44
~V~16-Apr-08 1:44 
GeneralRe: Sql Query Pin
Ashfield16-Apr-08 4:43
Ashfield16-Apr-08 4:43 
Try this

select a.eventid,b.name,convert(nvarchar,c.assigndate,106)as assigndate,<br />
convert(nvarchar,a.eventdate,106)as eventdate,a.event,a.details,a.eventtype from event as a left outer join emp <br />
as c on a.eventid=c.eventid left outer join user_info as b on b.userid=c.userid <br />
WHERE a.eventdate > getdate()<br />
AND (<br />
(a.eventtype = 'Single Month' and left(convert(varchar,getdate(),102),7) = left(convert(varchar,edate,102),7))<br />
OR (a.eventtype = 'All Month')<br />
)


Bob
Ashfield Consultants Ltd

QuestionFetch DB2 table data into MS-Excel Pin
Jay_se15-Apr-08 22:57
Jay_se15-Apr-08 22:57 
GeneralRe: Fetch DB2 table data into MS-Excel Pin
ChandraRam16-Apr-08 1:27
ChandraRam16-Apr-08 1:27 
GeneralRe: Fetch DB2 table data into MS-Excel Pin
Jay_se16-Apr-08 19:49
Jay_se16-Apr-08 19:49 
QuestionRegarding sum of a column Pin
mrcsn15-Apr-08 21:41
mrcsn15-Apr-08 21:41 
AnswerRe: Regarding sum of a column Pin
Mycroft Holmes15-Apr-08 22:21
professionalMycroft Holmes15-Apr-08 22:21 
GeneralRe: Regarding sum of a column Pin
mrcsn21-Apr-08 19:56
mrcsn21-Apr-08 19:56 
GeneralRe: Regarding sum of a column Pin
Pete O'Hanlon15-Apr-08 23:24
mvePete O'Hanlon15-Apr-08 23:24 
GeneralRe: Regarding sum of a column Pin
ChandraRam16-Apr-08 1:23
ChandraRam16-Apr-08 1:23 
QuestionRe: Regarding sum of a column Pin
mrcsn17-Apr-08 2:51
mrcsn17-Apr-08 2:51 
QuestionRe: Regarding sum of a column Pin
mrcsn21-Apr-08 20:00
mrcsn21-Apr-08 20:00 
GeneralRe: Regarding sum of a column Pin
ChandraRam21-Apr-08 20:10
ChandraRam21-Apr-08 20:10 
GeneralRe: Regarding sum of a column Pin
mrcsn21-Apr-08 20:27
mrcsn21-Apr-08 20:27 
GeneralRe: Regarding sum of a column Pin
ChandraRam21-Apr-08 20:53
ChandraRam21-Apr-08 20:53 
Questionsqldmo backup issue (Cannot open backup device) Pin
JoZ CaVaLLo15-Apr-08 21:36
JoZ CaVaLLo15-Apr-08 21:36 
GeneralRe: sqldmo backup issue (Cannot open backup device) Pin
SimulationofSai16-Apr-08 1:24
SimulationofSai16-Apr-08 1:24 
GeneralConnection of MS-Access 2007 to VC++2005 Pin
Le@rner15-Apr-08 19:56
Le@rner15-Apr-08 19:56 
GeneralRe: Connection of MS-Access 2007 to VC++2005 Pin
ChandraRam16-Apr-08 1:12
ChandraRam16-Apr-08 1:12 

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.