Viewing 15 posts - 8,176 through 8,190 (of 8,760 total)
Roust_m (5/26/2014)
To deal with clock moves.
Bear with me here, but why not do this in TSQL as a set based operation?
CLR is precompiled code.
This is true (the CLR are...
May 26, 2014 at 11:40 pm
Roust_m (5/26/2014)
I have a query, which eats massive amounts of CPU because of a CLR function, which deals with local time (our server system time (US) is different from local...
May 26, 2014 at 11:00 pm
This should get you started
😎
/* convert geometry to geography */
DECLARE @GEO1 GEOMETRY = geometry::STGeomFromText('POINT (-122.358 47.652)',0);
DECLARE @GEOG GEOGRAPHY = geography::Point(@GEO1.STY, @GEO1.STX, 4326)
/* Geography shape/poligon */
DECLARE @g geography = geography::STMPolyFromText('MULTIPOLYGON(((-122.358...
May 26, 2014 at 10:06 pm
Jeff Moden (5/25/2014)
Eirikur Eiriksson (5/24/2014)
May 25, 2014 at 3:38 am
Must say that I'm slightly puzzled. I have read my post over and over but I cannot find neither any implicit nor explicit suggestions of ignoring good coding or working...
May 24, 2014 at 1:31 pm
There is a wealth of technology options to help you out on this, the pitfall is to choose one before the requirements are carved in stone! A handful of million...
May 23, 2014 at 12:27 pm
hunchback (5/23/2014)
May 23, 2014 at 10:31 am
The order is important and must be respected in the XML but in the result set it is not. Therefore, use the row_number function to assign the "order" when shredding...
May 23, 2014 at 4:05 am
Not certain what the problem is, testing your code with an addition of a row_number consistently brings back the results in the expected order.
😎
declare @Products xml = N'<BS>
<B Id="5" />
<B...
May 23, 2014 at 1:04 am
Without more information, the answer is it depends. What kind of queries, aggregation? How does the schema look like etc.
😎
May 23, 2014 at 12:20 am
Quick question, what has changes since the last successful attempt?
😎
May 22, 2014 at 2:09 pm
Sean Lange (5/22/2014)
May 22, 2014 at 1:37 pm
I suggest you change from the + (addition) concatenation to the CONCAT function, it should implicitly cast the input to the appropriate character type if it does what says on...
May 22, 2014 at 1:26 pm
First of all, sorry for my hurried and incomplete postings on the subject, the question is about parameter binding and sql injection, I recognise that this is slightly (read...
May 22, 2014 at 1:20 pm
Viewing 15 posts - 8,176 through 8,190 (of 8,760 total)