Viewing 15 posts - 16,966 through 16,980 (of 59,101 total)
waxingsatirical (8/25/2016)
Luis Cazares (6/3/2016)
using float is just lazy programming.and by 'lazy' you mean??? Not doing unnecessary work?
No. More like not wanting to be bothered with best practice details,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2016 at 7:49 am
Wryan138 (6/3/2016)
Ron,If they really must have their floating point columns you might want to try:
Str(ThatFloatField, 5, 2) -- nnn.nn
It will round the result (not truncate).
Wayne
That would slow things down...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2016 at 7:47 am
paulo.margarido (8/24/2016)
i know my first aproach its uggly, and oi wanted to learn something more, and i do
Very cool. The first step is to stop saying things like...
i have...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:49 pm
@greg Larsen,
Your the one that got paid some decent money for posting this series. How about you answer some of the questions for a change!
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:34 pm
Just to be clear here...
You can't disable the actual Windows Login from SQL Server (well, you can but only if the server has Domain Admin privs and you really know...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:31 pm
SQL Galaxy (8/24/2016)
The following include two different query in different database for fetching data. but...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 7:47 pm
p.s. It's also a huge waste of disk space to audit INSERTs. Only audit UPDATES and DELETEs. INSERTs will always be in the original table until they're...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 7:25 pm
You need to write a trigger to do this.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 7:24 pm
Yes but why are you using NVARCHAR to store "digits"? Also, you've not stated the full datatype for the column. NVARCHAR(???) ? And, what do you want...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 7:22 pm
komal145 (8/24/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 7:12 pm
learningsqlkid (8/24/2016)
Now someone in my team mentioned that this can be achieved easily with windows workflow foundation which provides the same capability in much more flexible way
That "someone" made...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 7:08 pm
The FLOAT datatype isn't based on the DECIMAL numbering system although the result is displayed as such. FLOAT is based on BINARY representations of DECIMAL numbers and, when you...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:48 am
durga.palepu (8/24/2016)
I have verified this and it works fine for me, refer to the attachment.
Just post code in the future, please. No one can execute a JPG.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:19 am
BTW... if the table isn't critical to a DR restore, you might want to simply move it to another database and add a synonym for it. That would allow...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:12 am
pdanes (8/24/2016)
BLOB_EATER (8/24/2016)
Your MDF is 500MB with 8 years growth? I'm not so sure you need to go down this...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2016 at 8:07 am
Viewing 15 posts - 16,966 through 16,980 (of 59,101 total)