Viewing 9 posts - 16 through 25 (of 25 total)
If the table has spatial index , SQL use it. (check if inside the box)
DECLARE @pnt geometry, @crcl geometry;
DECLARE @dis float = 10000;
SET @pnt = geometry::Point(210000, 700000,...
December 18, 2020 at 12:59 pm
You do not need to use CAST twice!
SELECT ISNULL(TRY_CAST(Myval AS INT), -1) FROM CastTest;
April 13, 2018 at 2:28 am
new DateTime(2016–04–01)
should be
new DateTime(2016,4,1)
September 29, 2017 at 1:00 am
Is it started around 2017-04-11?
In my system some of the reports take long long time and sometimes ended with timeout.
I suspect that some hidden updates of Microsoft are...
April 26, 2017 at 10:39 am
Why not to use CLR aggregate function that you can download from:
Izhar Azati
July 9, 2013 at 2:33 pm
Try:
SELECT * FROM #product
WHERE ','+catid+',' like '%,1,%'
December 4, 2009 at 7:22 am
Try:
SELECT
30.AString
,50.E-3AnotherString
,10.E0SomethingElse
into dbo.TempTable;
select * from dbo.TempTable;
You can see that SQL try to parse the number till the not numeric character and then take...
May 29, 2009 at 5:55 am
My solution was to loop the files (directory), copy (move) the file to fix temp directory and fix name, do the job, move (delete) the file to archive directory.
Izhar Azati
May 29, 2009 at 5:28 am
The 5 lines can by also in the middle of the file!!
January 23, 2008 at 10:58 am
Viewing 9 posts - 16 through 25 (of 25 total)