Consider I have a table with different columns types:
CREATE TABLE [RentedHome]
(
[HomeID] INT NOT NULL PRIMARY KEY CLUSTERED,
[Address] CHAR (255) NOT NULL CHECK (LEN(Address) >= 2),
[Landlord] CHAR (100) NOT NULL CHECK (LEN(Landlord) >= 2),
[Tenant] CHAR (100) NOT NULL CHECK (LEN(Landlord) >= 2),
)
I want to add the Geography
column to the mentioned table, how should I define the column (I want to insert just a geography-point for each home):
[Location] GEO (yyy)
Thanks