Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
i have a dbgeography column in sql server which stores latitude and longitude information. I want to extract latitude or longitude information using sql query but i couldn't find a way to do so. How could it be done?
No C# code.
Does something like this work?
select Location.Lat, Location.Long from GeographyTable
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I was searching already a while and still i am not sure there is any function to split string in Informix db 11.70? Should I write my own function to make my task real or I missed something?
I think you are looking for SUBSTR function,
please refer to this page list of string manipulation functions:
https://www.ibm.com/support/knowledgecenter/SSGU8G_14.1.0/com.ibm.sqls.doc/ids_sqs_0258.htm#ids_sqs_0258
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm a new beginner to Oracle ,I'm so confused about the data types .
I don't know the difference between :
INT,INTEGER,NUMBER
CHAR,CHAR VARYING ,CHARACTER,CHARACTER VARYING
Integer datatype is now deprecated and it is equivalent to NUMBER(38,0). The keyword is retained for compatibility.
Also you can check the Oracle PL/SQL book
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am still learn SQL and I need to have table A sync'd to table B in a different DB. Does anyone have a script to do that or point me in the right direction.
Thanks
INSERT INTO current_DB.A
(SELECT * FROM another_DB.B)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How can I convert latitude and longitude into magnetic variation for an IOS app (Objective C). I am looking for a simple solution I can incorporate in an app.
I willing to trade off precision and handling all possible cases for simplicity.
Simplest would be to have a stored table and interpolate your current position. I don't think you'll find a simple formula, but it doesn't change quickly with position.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm using SQL Server DB and I would like to write query which will look for a fields with two or more slashes in it, lets say we have these rows:
1. abc/def/g
2. abcd/efg
3. a/b/c/d/e/f/g
So it should return 1st and 3rd row! What is the easiest way to do so?
Thanks in advance!