Click here to Skip to main content
15,890,947 members
Home / Discussions / Database
   

Database

 
GeneralRe: low spead in multi user request Pin
hamid_m26-Mar-07 21:11
hamid_m26-Mar-07 21:11 
GeneralRe: low spead in multi user request Pin
Pete O'Hanlon27-Mar-07 0:14
mvePete O'Hanlon27-Mar-07 0:14 
GeneralRe: low spead in multi user request Pin
Rob Graham27-Mar-07 4:16
Rob Graham27-Mar-07 4:16 
QuestionConfigure MS SQL server 2005 Pin
phokojoe26-Mar-07 5:14
phokojoe26-Mar-07 5:14 
AnswerRe: Configure MS SQL server 2005 Pin
mghiassi26-Mar-07 7:29
mghiassi26-Mar-07 7:29 
GeneralRe: Configure MS SQL server 2005 Pin
phokojoe26-Mar-07 21:32
phokojoe26-Mar-07 21:32 
GeneralRe: Configure MS SQL server 2005 Pin
Rob Graham27-Mar-07 8:44
Rob Graham27-Mar-07 8:44 
QuestionSQL Date problem. Pin
BooleanTrue26-Mar-07 5:04
professionalBooleanTrue26-Mar-07 5:04 
Hello!
I have a table in SQL Server 2000 named ORDERS.
This table have only one record with orderdate 27/03/2007
when i run this query Select * from orders where
(Orders.OrderDate >= '26/03/2007' AND Orders.OrderDate <= '26/04/2007')

no rows are selected. But when i use: Select * from orders where
(Orders.OrderDate >= '26/03/2007' AND Orders.OrderDate <= '27/04/2007')

it returns a row with orderdate 27/03/2007.
What i have noticed that if day part of Orders.OrderDate <= '27/04/2007'
is greater than day part of '26/03/2007' it works otherwise not.

Important: Data type of ORDER DATE is nvarchar.

Anybody please guide me how to handle this if i keep datatype as NVARCHAR(10). Its a big project and for me changing its datatype is like going straight into Hell...
Thanks



colgate

AnswerRe: SQL Date problem. Pin
Paddy Boyd26-Mar-07 5:09
Paddy Boyd26-Mar-07 5:09 
GeneralRe: SQL Date problem. Pin
BooleanTrue26-Mar-07 5:13
professionalBooleanTrue26-Mar-07 5:13 
GeneralRe: SQL Date problem. Pin
BooleanTrue26-Mar-07 5:22
professionalBooleanTrue26-Mar-07 5:22 
GeneralRe: SQL Date problem. Pin
Paddy Boyd26-Mar-07 5:23
Paddy Boyd26-Mar-07 5:23 
GeneralThank you! Pin
BooleanTrue26-Mar-07 5:31
professionalBooleanTrue26-Mar-07 5:31 
GeneralRe: Thank you! Pin
Test27030728-Mar-07 3:36
Test27030728-Mar-07 3:36 
QuestionDataSet Pin
raj@code26-Mar-07 4:37
raj@code26-Mar-07 4:37 
AnswerRe: DataSet Pin
Marcus J. Smith26-Mar-07 10:18
professionalMarcus J. Smith26-Mar-07 10:18 
AnswerRe: DataSet Pin
Aaron VanWieren27-Mar-07 2:58
Aaron VanWieren27-Mar-07 2:58 
Questionmapping help. Pin
NasimKaziS26-Mar-07 2:52
NasimKaziS26-Mar-07 2:52 
AnswerRe: mapping help. Pin
Colin Angus Mackay26-Mar-07 3:03
Colin Angus Mackay26-Mar-07 3:03 
AnswerRe: mapping help. Pin
Aaron VanWieren27-Mar-07 3:01
Aaron VanWieren27-Mar-07 3:01 
Questionaccess Pin
WhiteGirl2326-Mar-07 2:23
WhiteGirl2326-Mar-07 2:23 
AnswerRe: access Pin
Jerry Hammond26-Mar-07 3:34
Jerry Hammond26-Mar-07 3:34 
QuestionNull value Pin
Icarus12326-Mar-07 1:44
Icarus12326-Mar-07 1:44 
AnswerRe: Null value Pin
szukuro26-Mar-07 2:49
szukuro26-Mar-07 2:49 
QuestionDatabase Attach error Pin
samerh26-Mar-07 0:39
samerh26-Mar-07 0:39 

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.