Click here to Skip to main content
15,899,124 members
Home / Discussions / Database
   

Database

 
AnswerRe: Is SELECT INTO optimal to copy data? Pin
Mike Dimmick2-Feb-06 2:32
Mike Dimmick2-Feb-06 2:32 
QuestionHelp!!Compacting Database MSDE/SQL Pin
jfk_lili1-Feb-06 22:35
jfk_lili1-Feb-06 22:35 
AnswerRe: Help!!Compacting Database MSDE/SQL Pin
Mike Dimmick2-Feb-06 2:38
Mike Dimmick2-Feb-06 2:38 
GeneralRe: Help!!Compacting Database MSDE/SQL Pin
jfk_lili2-Feb-06 17:02
jfk_lili2-Feb-06 17:02 
QuestionProblems with Backup/Restore of SQL server database Pin
nicsquare1-Feb-06 20:44
nicsquare1-Feb-06 20:44 
Questiondate pblm in mssql server Pin
Vipin.d1-Feb-06 17:27
Vipin.d1-Feb-06 17:27 
AnswerRe: date pblm in mssql server Pin
Rana Muhammad Javed Khan1-Feb-06 20:00
Rana Muhammad Javed Khan1-Feb-06 20:00 
AnswerRe: date pblm in mssql server Pin
Colin Angus Mackay1-Feb-06 23:26
Colin Angus Mackay1-Feb-06 23:26 
What type is dtlastdate and why are you converting it? Shouldn't it already be in a datatime (or smalldatetime) format already?


crazysanker wrote:
WHERE convert(smalldatetime,dtlastdate)>= getdate()


It didn't select the row with dtlastdate as 2006-01-25 because that is before now. You asked to select rows with a dtlastdate after now.

>= Greater than or equal to: WHERE dtlastdate is greater than or equal to getdate()

The query is working correctly.

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

QuestionCopy diagram from on db to another on same db Pin
bubberz1-Feb-06 12:02
bubberz1-Feb-06 12:02 
AnswerRe: Copy diagram from on db to another on same db Pin
bubberz2-Feb-06 3:37
bubberz2-Feb-06 3:37 
Questiongenerating database Pin
D.N.1-Feb-06 4:09
D.N.1-Feb-06 4:09 
AnswerRe: generating database Pin
Colin Angus Mackay1-Feb-06 5:18
Colin Angus Mackay1-Feb-06 5:18 
GeneralRe: generating database Pin
D.N.1-Feb-06 5:49
D.N.1-Feb-06 5:49 
GeneralRe: generating database Pin
Colin Angus Mackay1-Feb-06 5:50
Colin Angus Mackay1-Feb-06 5:50 
Questiondate acessing problm in msssql server 2000 Pin
Vipin.d31-Jan-06 18:50
Vipin.d31-Jan-06 18:50 
AnswerRe: date acessing problm in msssql server 2000 Pin
Colin Angus Mackay31-Jan-06 20:27
Colin Angus Mackay31-Jan-06 20:27 
AnswerRe: date acessing problm in msssql server 2000 Pin
idonthavename31-Jan-06 22:37
idonthavename31-Jan-06 22:37 
QuestionDatabinding 2 Datagridviews Pin
elraton31-Jan-06 18:37
elraton31-Jan-06 18:37 
QuestionSQL Procedures & SourceSafe Pin
Len Miller31-Jan-06 11:36
Len Miller31-Jan-06 11:36 
AnswerRe: SQL Procedures & SourceSafe Pin
S Douglas1-Feb-06 0:27
professionalS Douglas1-Feb-06 0:27 
GeneralRe: SQL Procedures & SourceSafe Pin
Len Miller1-Feb-06 3:24
Len Miller1-Feb-06 3:24 
QuestionSpecifying DateTime value in a query Pin
Luis Alonso Ramos31-Jan-06 7:37
Luis Alonso Ramos31-Jan-06 7:37 
AnswerRe: Specifying DateTime value in a query Pin
Farhan Noor Qureshi31-Jan-06 8:16
Farhan Noor Qureshi31-Jan-06 8:16 
QuestionEmbedded sql Visual c++.net and mysql and ODBC Pin
JerryMcguire31-Jan-06 7:02
JerryMcguire31-Jan-06 7:02 
QuestionTransfering Data to PDA Pin
jansmith7231-Jan-06 6:49
jansmith7231-Jan-06 6:49 

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.