GPS coordinates in SQL to google map

I have GPS longitudes and latitudes saved in SQL server, it has format of dddd.dddd and Hemisphere value.
How do I convert this in SQL on fly so that Google map accepts it.
For example, one has;
LastGPS_Latitude      LastGPS_LatHemisphere      LastGPS_Longitude
4045.2576      N      7352.8029

This coordinate is supposed to show somewhere in New York city or close.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BullockQA EngineerCommented:
I tried inputting degrees and decimal minutes (DMM) into Google Maps.

I used a negative number for your longitude to get the location in New York City. If you don't have a field for it, maybe it's assumed.'15.5%22N+73%C2%B052'48.2%22W/@40.7543051,-73.8800556,15z/data=!3m1!4b1!4m2!3m1!1s0x0:0x0
Mark BullockQA EngineerCommented:
The string I entered in Google Maps was 40 45.2576, -73 52.8029
EugeneZ ZhitomirskySQL SERVER EXPERTCommented:
you missed  coordinates part  LastGPS_LonHemisphere      W
just use this format ( substring to ad space after 1st 2 digits <=> degrees .. let us know if need help,,
like this:

40 45.2576  N  73 52.8029 W

and use with google map to find location on  87Str 34 Ave Queens, NY

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
crcsupportAuthor Commented:
Can I assume N=+, W=-?
crcsupportAuthor Commented:
Thanks all.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
GIS/GPS Programming

From novice to tech pro — start learning today.