Click here to Skip to main content
15,896,348 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Express 2005 Database Read-Only Problem Pin
Wendelius15-Nov-08 21:38
mentorWendelius15-Nov-08 21:38 
GeneralRe: SQL Express 2005 Database Read-Only Problem Pin
Ahmad Safwat15-Nov-08 23:50
Ahmad Safwat15-Nov-08 23:50 
GeneralRe: SQL Express 2005 Database Read-Only Problem Pin
Wendelius15-Nov-08 23:57
mentorWendelius15-Nov-08 23:57 
AnswerRe: SQL Express 2005 Database Read-Only Problem Pin
Paul Conrad13-Nov-08 6:39
professionalPaul Conrad13-Nov-08 6:39 
Questioninsert into and varbinary Pin
swjam13-Nov-08 2:18
swjam13-Nov-08 2:18 
AnswerRe: insert into and varbinary Pin
Wendelius13-Nov-08 4:45
mentorWendelius13-Nov-08 4:45 
QuestionI want to diplay particular records between two dates using nvarchar Pin
Samiullah13-Nov-08 0:12
Samiullah13-Nov-08 0:12 
AnswerRe: I want to diplay particular records between two dates using nvarchar [modified] Pin
Syed Mehroz Alam13-Nov-08 2:15
Syed Mehroz Alam13-Nov-08 2:15 
Samiullah wrote:
create table rough(checkeddate nvarchar(100))


Why are you storing date as an nvarchar? Try using a datetime type instead and you can easily filter records using the query you mentioned. But if you still want to achieve it using an nvarchar, you can simply cast the value to a datetime. Here's a small change to your query:

select * from rough where cast(checkeddate as datetime) between '1/01/2006' and '12/31/2006'


Regards,
Syed Mehroz Alam

My Blog
My Articles

Computers are incredibly fast, accurate, and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination. - Albert Einstein

modified on Thursday, November 13, 2008 8:22 AM

GeneralRe: I want to diplay particular records between two dates using nvarchar Pin
Samiullah13-Nov-08 23:44
Samiullah13-Nov-08 23:44 
AnswerRe: I want to diplay particular records between two dates using nvarchar Pin
Mycroft Holmes13-Nov-08 15:57
professionalMycroft Holmes13-Nov-08 15:57 
AnswerRe: I want to diplay particular records between two dates using nvarchar Pin
PIEBALDconsult13-Nov-08 16:04
mvePIEBALDconsult13-Nov-08 16:04 
QuestionDebugging null data adapter Pin
theFrenchHornet12-Nov-08 9:38
theFrenchHornet12-Nov-08 9:38 
AnswerRe: Debugging null data adapter Pin
Wendelius13-Nov-08 5:15
mentorWendelius13-Nov-08 5:15 
GeneralRe: Debugging null data adapter Pin
theFrenchHornet13-Nov-08 5:47
theFrenchHornet13-Nov-08 5:47 
GeneralRe: Debugging null data adapter Pin
Wendelius13-Nov-08 7:14
mentorWendelius13-Nov-08 7:14 
GeneralRe: Debugging null data adapter Pin
theFrenchHornet15-Nov-08 9:21
theFrenchHornet15-Nov-08 9:21 
GeneralRe: Debugging null data adapter Pin
Wendelius15-Nov-08 9:59
mentorWendelius15-Nov-08 9:59 
AnswerRe: Debugging null data adapter Pin
PIEBALDconsult13-Nov-08 16:11
mvePIEBALDconsult13-Nov-08 16:11 
GeneralRe: Debugging null data adapter Pin
theFrenchHornet15-Nov-08 9:22
theFrenchHornet15-Nov-08 9:22 
QuestionSQL CE Exception Pin
hammerstein0512-Nov-08 4:01
hammerstein0512-Nov-08 4:01 
AnswerRe: SQL CE Exception Pin
Ennis Ray Lynch, Jr.13-Nov-08 4:39
Ennis Ray Lynch, Jr.13-Nov-08 4:39 
QuestionHow to get this nested level output Pin
VenkataRamana.Gali11-Nov-08 18:10
VenkataRamana.Gali11-Nov-08 18:10 
AnswerRe: How to get this nested level output Pin
ScottM111-Nov-08 19:42
ScottM111-Nov-08 19:42 
AnswerRe: How to get this nested level output Pin
Wendelius12-Nov-08 7:39
mentorWendelius12-Nov-08 7:39 
Questionenabling xp_cmdshell Pin
sunny7411-Nov-08 17:58
sunny7411-Nov-08 17:58 

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.