Click here to Skip to main content
15,909,747 members
Home / Discussions / Database
   

Database

 
GeneralRe: Huge DataTable & ComboBox Pin
jpeg15-Jan-03 21:36
jpeg15-Jan-03 21:36 
GeneralRe: Huge DataTable & ComboBox Pin
Hesham Amin16-Jan-03 9:04
Hesham Amin16-Jan-03 9:04 
GeneralRe: Huge DataTable & ComboBox Pin
jpeg16-Jan-03 20:53
jpeg16-Jan-03 20:53 
GeneralRe: Huge DataTable & ComboBox Pin
Hesham Amin16-Jan-03 22:14
Hesham Amin16-Jan-03 22:14 
GeneralRe: Huge DataTable & ComboBox Pin
SimonS15-Jan-03 21:59
SimonS15-Jan-03 21:59 
GeneralRe: Huge DataTable & ComboBox Pin
jpeg15-Jan-03 22:24
jpeg15-Jan-03 22:24 
GeneralRe: Huge DataTable & ComboBox Pin
SimonS15-Jan-03 23:49
SimonS15-Jan-03 23:49 
QuestionHow to use datetime fields in SQL server? Pin
Luca Leonardo Scorcia15-Jan-03 2:55
professionalLuca Leonardo Scorcia15-Jan-03 2:55 
Hi!
I want to do a simple SELECT on a table, returning the count of records containing a greater date than a certain date I write in the query expression.

Using Access, I'd simply write:
SELECT Count(1) As nMsg FROM Bacheca WHERE ([Date] > #2003/01/01 13:59:07#)

But that select statement returns an error when used in SQL Server, it says Syntax error near '13'. Can you tell me how to fix it?

And, I'd like to make that query work for both Access and SQL Server - is it possible?

Luca Leonardo Scorcia
http://zip.to/kojak (only in Italian)
AnswerRe: How to use datetime fields in SQL server? Pin
David Wulff15-Jan-03 4:50
David Wulff15-Jan-03 4:50 
AnswerRe: How to use datetime fields in SQL server? Pin
Richard Deeming15-Jan-03 7:27
mveRichard Deeming15-Jan-03 7:27 
GeneralRe: How to use datetime fields in SQL server? Pin
Luca Leonardo Scorcia15-Jan-03 10:10
professionalLuca Leonardo Scorcia15-Jan-03 10:10 
QuestionHow to detect that ADO Connction was failed Pin
ernst.maurer15-Jan-03 2:21
ernst.maurer15-Jan-03 2:21 
AnswerRe: How to detect that ADO Connction was failed Pin
Mazdak15-Jan-03 19:31
Mazdak15-Jan-03 19:31 
GeneralMultiple connection problem Pin
Hzi14-Jan-03 20:49
Hzi14-Jan-03 20:49 
GeneralRe: Multiple connection problem Pin
Anonymous15-Jan-03 20:23
Anonymous15-Jan-03 20:23 
GeneralRe: Multiple connection problem Pin
Hzi15-Jan-03 20:27
Hzi15-Jan-03 20:27 
GeneralRe: Multiple connection problem Pin
Hesham Amin15-Jan-03 20:32
Hesham Amin15-Jan-03 20:32 
GeneralRe: Multiple connection problem Pin
Hzi16-Jan-03 1:25
Hzi16-Jan-03 1:25 
GeneralRe: Multiple connection problem Pin
pushpi1-Feb-03 1:30
pushpi1-Feb-03 1:30 
GeneralOpen XML and SQLServer Pin
dturton14-Jan-03 10:46
dturton14-Jan-03 10:46 
GeneralHelp Error "SELECT permission denied on object 'Contacts', database 'Contacts', owner 'dbo'. " Pin
marnicola13-Jan-03 10:00
marnicola13-Jan-03 10:00 
GeneralRe: Help Error "SELECT permission denied on object 'Contacts', database 'Contacts', owner 'dbo'. " Pin
Terry Denham13-Jan-03 10:22
Terry Denham13-Jan-03 10:22 
GeneralDetermine column's datatype Pin
Sarvesvara (BVKS) Dasa13-Jan-03 2:49
Sarvesvara (BVKS) Dasa13-Jan-03 2:49 
GeneralRe: Determine column's datatype Pin
leppie13-Jan-03 7:22
leppie13-Jan-03 7:22 
GeneralRe: Determine column's datatype Pin
Sarvesvara (BVKS) Dasa13-Jan-03 19:43
Sarvesvara (BVKS) Dasa13-Jan-03 19:43 

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.