Viewing 15 posts - 16,936 through 16,950 (of 59,101 total)
Sergiy (8/29/2016)
Jeff Moden (8/29/2016)
Someone would have to prove that one to me, Sergiy.
It took 2 minutes:
DECLARE @Amount MONEY, @Term INT
DECLARE @fRate float, @dRate decimal (38,10)
SELECT @Amount = 1000000, @Term...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 9:18 pm
Ah, my apologies. I didn't look at what your code was doing and went only by your description. I thought you were returning something besides the print statement.
To...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 8:48 pm
VastSQL (8/28/2016)
GilaMonster (8/28/2016)
Depends on the table size and number of rows needing a lookup. Test for your data set and see which works better for you.
Thanks Gail.
For large data scan...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 7:53 am
OPENROWSET returns a result set and only 1 result set. It doesn't know what to do with output from a print statement, which is a separate result set, as...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 7:50 am
GilaMonster (8/29/2016)
SQL_Student (8/29/2016)
will try this thanks, the issue is developers require sysadmin role on this specific boxThen that's the first thing that you need to fix, with support from management.
+Infinity...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 7:46 am
Sergiy (8/29/2016)
Jeff Moden (8/29/2016)
vdiazh (8/28/2016)
Is great, thanks
I hope you're not using the FLOAT version. FLOAT is a binary "approximation" of numbers and it the scale varies according to how...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 7:43 am
GilaMonster (8/26/2016)
Jeff Moden (8/26/2016)
Grant Fritchey (6/9/2015)
There are places where partitioning can, and does, improve performance.
Apologies for the year late response and I hate to be contrary but everywhere I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 6:25 am
Thanks, Matt. I sure do appreciate the testing and the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 6:16 am
Both answers that you've marked as "Worked for the OP" have multiple suggestions. Which method did you ultimately end up using?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 6:13 am
sqlenthu 89358 (8/29/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 6:09 am
vdiazh (8/28/2016)
Is great, thanks
I hope you're not using the FLOAT version. FLOAT is a binary "approximation" of numbers and it the scale varies according to how many numbers are...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2016 at 6:03 am
sanjaydut26 (8/27/2016)
I am new to table partitioning.
I have a large table with millions of rows, There is no Date column in the table and...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 27, 2016 at 11:34 am
kasamsandeep (8/27/2016)
I have 2 Databases DB1 & DB2 (Owner is 'sa' for both)
Table1, SP1 both exists in DB1 (Schema is 'dbo')
SP2 exists in DB2 (Schema is 'dbo')
SP1 - Does...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 27, 2016 at 11:07 am
I guess I don't understand why anyone would use PoSh for such a thing when it's so easy to do in SQL Server itself. This also covers any NDF...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 9:12 pm
sqlenthu 89358 (8/26/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2016 at 7:06 pm
Viewing 15 posts - 16,936 through 16,950 (of 59,101 total)