Click here to Skip to main content
16,008,954 members
Home / Discussions / Database
   

Database

 
AnswerRe: Problem with SSIS 2012 Pin
amioni24-Jul-14 3:00
amioni24-Jul-14 3:00 
GeneralRe: Problem with SSIS 2012 Pin
Richard Deeming24-Jul-14 3:12
mveRichard Deeming24-Jul-14 3:12 
GeneralRe: Problem with SSIS 2012 Pin
amioni24-Jul-14 3:25
amioni24-Jul-14 3:25 
QuestionRe: Problem with SSIS 2012 Pin
GuyThiebaut24-Jul-14 2:44
professionalGuyThiebaut24-Jul-14 2:44 
AnswerRe: Problem with SSIS 2012 Pin
amioni24-Jul-14 2:51
amioni24-Jul-14 2:51 
AnswerRe: Problem with SSIS 2012 Pin
GuyThiebaut24-Jul-14 3:26
professionalGuyThiebaut24-Jul-14 3:26 
GeneralRe: Problem with SSIS 2012 Pin
amioni24-Jul-14 4:09
amioni24-Jul-14 4:09 
GeneralRe: Problem with SSIS 2012 Pin
GuyThiebaut24-Jul-14 4:43
professionalGuyThiebaut24-Jul-14 4:43 
GeneralRe: Problem with SSIS 2012 Pin
jschell24-Jul-14 11:44
jschell24-Jul-14 11:44 
GeneralRe: Problem with SSIS 2012 Pin
amioni24-Jul-14 21:54
amioni24-Jul-14 21:54 
AnswerRe: Problem with SSIS 2012 Pin
amioni1-Sep-14 23:52
amioni1-Sep-14 23:52 
Questionsql server Pin
saharmirzaei23-Jul-14 8:12
saharmirzaei23-Jul-14 8:12 
QuestionRe: sql server Pin
Richard Deeming23-Jul-14 8:17
mveRichard Deeming23-Jul-14 8:17 
AnswerRe: sql server Pin
saharmirzaei23-Jul-14 22:30
saharmirzaei23-Jul-14 22:30 
GeneralRe: sql server Pin
PIEBALDconsult23-Jul-14 8:32
mvePIEBALDconsult23-Jul-14 8:32 
GeneralRe: sql server Pin
saharmirzaei23-Jul-14 22:26
saharmirzaei23-Jul-14 22:26 
AnswerRe: sql server Pin
Bernhard Hiller23-Jul-14 20:49
Bernhard Hiller23-Jul-14 20:49 
GeneralRe: sql server Pin
saharmirzaei23-Jul-14 22:23
saharmirzaei23-Jul-14 22:23 
AnswerRe: sql server Pin
Mycroft Holmes23-Jul-14 22:47
professionalMycroft Holmes23-Jul-14 22:47 
QuestionWeird MS SQL "Error" Pin
GenJerDan23-Jul-14 7:07
GenJerDan23-Jul-14 7:07 
AnswerRe: Weird MS SQL "Error" Pin
Richard Deeming23-Jul-14 7:47
mveRichard Deeming23-Jul-14 7:47 
Are you absolutely sure that that's the precise query that you executed, and that the row you're looking at is the one it updated?

smalldatetime[^] will round to the nearest minute, but it will only round up if the seconds are greater than or equal to 29.999; anything else will round down.
SQL
SELECT
    CAST('7/23/2014 9:49:29.998 AM' as smalldatetime),
    CAST('7/23/2014 9:49:29.999 AM' as smalldatetime)
;

/*
Output:
2014-07-23 09:49:00
2014-07-23 09:50:00
*/




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Weird MS SQL "Error" Pin
GenJerDan23-Jul-14 8:10
GenJerDan23-Jul-14 8:10 
GeneralRe: Weird MS SQL "Error" Pin
Richard Deeming23-Jul-14 8:18
mveRichard Deeming23-Jul-14 8:18 
GeneralRe: Weird MS SQL "Error" Pin
GenJerDan23-Jul-14 8:28
GenJerDan23-Jul-14 8:28 
AnswerRe: Weird MS SQL "Error" Pin
jschell23-Jul-14 11:55
jschell23-Jul-14 11:55 

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.