Viewing 15 posts - 8,566 through 8,580 (of 13,876 total)
Snargables (3/23/2015)
March 23, 2015 at 9:37 am
Snargables (3/23/2015)
it's not actuallt converting anything when it anything over e-5. or under however u want to look at it.
Try these
select cast( '1.550e-6' as float) * 100000
select '1.550e-6' *...
March 23, 2015 at 8:22 am
Snargables (3/23/2015)
it's not actuallt converting anything when it anything over e-5. or under however u want to look at it.
It is converting from varchar to float.
March 23, 2015 at 8:20 am
I'm not sure why it is displayed in exponential notation, but it is still a float and appears to have the right value.
If you use decimal instead, I think that...
March 23, 2015 at 8:19 am
Snargables (3/23/2015)
select cast( '1.550e-6' as float)
?????????
returns 1.55E-06
????????
select cast( '1.550e-5'...
March 23, 2015 at 8:10 am
Eric M Russell (3/23/2015)
abhas (3/23/2015)
DATE_MODIFIED column is there.
If DATE_MODIFIED is populated when the row is initially inserted, and it's updated consistently by the application, and it's indexed, then that's...
March 23, 2015 at 7:57 am
Lowell (3/23/2015)
Phil Parkin (3/23/2015)
Is there a 'DateCreated' column in your source data?
or is there an incremental primary key in the Oracle source that you can just select fromOracle where the...
March 23, 2015 at 7:15 am
If you type
Me.Connections.
does Intellisense give you any options at all?
March 23, 2015 at 6:38 am
I just noticed another thing ...
If you do a LEFT JOIN from table A to table B, you are telling SQL to return all rows which match, plus all rows...
March 23, 2015 at 2:07 am
Perhaps. If you frequently need to filter based on year.
Alternatively, if there is already a suitable index on the datetime column, change your filter from
Year(col) = 2013
to
col >= '20130101'...
March 23, 2015 at 1:50 am
I see no way (or reason) to introduce windowing functions here.
I suspect that you would see a large performance improvement if you were to add a QuotaDateYear column to your...
March 23, 2015 at 1:30 am
aarionsql (3/18/2015)
Thank you for the suggestion. That does not work as the package fails when it tries to INSERT the record
I've read your posts and I don't understand 100% what...
March 19, 2015 at 6:42 am
Here you go
where (
dbo.ocsTimeHeader.tshStatus = 'ACTIVE'
or dbo.ocsTimeHeader.tshStatus = 'IDLE'
...
March 19, 2015 at 6:38 am
Steve Jones - SSC Editor (3/18/2015)
cast( datepart(mm, mydatecolumn) as char(2)) + '/' + cast( datepart(dd, mydatecolumn)...
March 18, 2015 at 10:30 am
Viewing 15 posts - 8,566 through 8,580 (of 13,876 total)