Viewing 15 posts - 76 through 90 (of 475 total)
You may be onto something there. Before you can post anything you have to answer correctly a certain amount of QOTDs or read about posting etiquette and answer some...
July 3, 2014 at 9:55 pm
I think you'll need to change the way you deal with this slightly.
I suspect that your period_name column is a char or varchar, so declaring @periodname as a date is...
July 1, 2014 at 1:24 pm
Hi Dave
You will need to get yourself a polygon that defines the coastline. Once this is done and loaded into the database, you can use the spatial data types...
June 29, 2014 at 1:14 pm
Thanks Andy. It's always good to know a bit of trivia, not that this is a trivial number:-)
June 26, 2014 at 9:03 pm
I'd vote for Lynn's personally. His will return all the rows for Markers that have multiple rows all have Val 'Y'. This would become important if there are...
June 26, 2014 at 6:01 pm
Louis Hillebrand (6/26/2014)
The result of Query...
June 26, 2014 at 1:01 pm
Hi
Interestingly enough I tried a similar test on 2012 for the originals and got elapsed times that so close as to be the same. It may have been the...
June 25, 2014 at 2:19 pm
Thanks Andy ... learnt something new today. Hadn't used the escape clause before. Should be handy.
June 25, 2014 at 2:07 am
hey_igor (6/22/2014)
WITH CTE AS
(
Name,
StartPosition,
EndPosition,
'' AS Position,
Height
...
June 22, 2014 at 9:29 pm
Hi
You may also want to have a look at APPLY as well then
http://www.sqlservercentral.com/articles/APPLY/69953/
http://www.sqlservercentral.com/articles/APPLY/69954/
Using APPLY you could end up with something like the following
SELECT
-- Original data from table
t.Name,
t.Start,
t.[End],...
June 22, 2014 at 8:22 pm
mister.magoo (6/19/2014)
That is VERY nice 🙂
Now I have to learn how to do that!
Aw shucks .. thank you:blush:
June 19, 2014 at 2:35 am
Eirikur Eiriksson (6/18/2014)
If Einstein would have had SQL Server, it would have been so much easier:-D😎
Awesome:cool:
June 18, 2014 at 1:53 pm
Dingo1Dave (6/18/2014)
I do have the below which as I am lead to believe will also help with the calculation.
ACOS(COS(RADIANS(90-@lat1))*COS(RADIANS(90-latitude)) +SIN(RADIANS(90-@lat1)) *SIN(RADIANS(90-latitude))*COS(RADIANS(@lon1-longitude)))*6371
This is being used in the calculation of the number...
June 18, 2014 at 1:41 pm
wolfkillj (6/17/2014)
Joe's challenge: Implement Conway's Game of Life in SQL.
The Schelling model...
June 17, 2014 at 5:11 pm
Dingo1Dave (6/17/2014)
The bigger picture that I have is to try and build this out to cover larger areas of the world. I think trying to run a worldwide, land based...
June 17, 2014 at 1:14 pm
Viewing 15 posts - 76 through 90 (of 475 total)