Viewing 15 posts - 46 through 60 (of 135 total)
thanks vinu
Now i am trying to join this query with a table to get the desire results
CREATE TABLE #tProduct
(
tProductID bigint PRIMARY KEY,
tProductCode nvarchar(128),
tProductName nvarchar(256),
tManufacturerName nvarchar(256),
tProductDescription nvarchar(4000)
)
EXECUTE ('SELECT...
January 14, 2013 at 5:53 am
Hi Lynn, thanks for the reply
The value in ParentFeatureName can be dynamically change..it will not always give the same value
I am trying this dynamic pivot..but still not getting the...
January 12, 2013 at 2:28 am
Hi I am getting this error while executing this commands
"/qs " + //Specifies that Setup runs and shows progress through the UI, but does not accept any input or show...
December 20, 2012 at 6:23 am
Eugene Elutin (11/29/2012)
Try this:
SELECT S.CityId, C.Name
FROM @City AS S
CROSS APPLY (VALUES (CityName),(AlternateCityName1),(AlternateCityName2)) C(Name)
WHERE C.Name LIKE @SearchString + '%'
Thanks Eugene..never known we can use Cross Apply in this way.
November 29, 2012 at 9:08 pm
Want a cool sig (11/29/2012)
dilipd006 (11/29/2012)
Is there any performance issue if i create Filterindex for each AlternateCityName column.
I want to load thi city in a text box while typing...
November 29, 2012 at 9:07 pm
Thanks dave
Is there any performance issue if i create Filterindex for each AlternateCityName column.
I want to load thi city in a text box while typing the characters.If i i use...
November 29, 2012 at 4:45 am
Any help?
October 8, 2012 at 1:14 am
Thanks J Livingston and Cadavre for the solution
August 21, 2012 at 4:49 am
thanks for the reply
but i didn't get the expected result
TranIDCode
201205AMDDOHNBOADDDELAMD
201206IXJRMI
I don't want to use Cursor as i am using this query as subquery in other query
August 20, 2012 at 5:08 am
So i can choose any method (Point or STPointFromText ) method for the calculation .
It doesn't affect the result in calculating nearby places. right?
August 15, 2012 at 6:47 am
Stewart "Arturius" Campbell (8/14/2012)
Read up on the geography::Point, especially regarding the X (Latitude) and Y (Longitude) coordinates.
In this article it is written X=latitude, y= longitude..so when updating
i am passing...
August 14, 2012 at 5:14 am
dilipd006 (8/14/2012)
After executing the updation with geography::STGeomFromText method
there is no change in the latitude,longitude order in the result
POINT (8.4827 76.9192)
but when i use geography::Point method there is a change in...
August 14, 2012 at 4:02 am
DECLARE @Latitude float = 8.4827
DECLARE @Longitude float = 76.9192
DECLARE @ID int = 1
UPDATE [dbo].[LocationCopy]
SET
LocationGeography = geography::STGeomFromText('POINT('+CAST(@Latitude AS Varchar)+' '+CAST(@Longitude AS Varchar)+' )', 4326)
WHERE LocationID =...
August 14, 2012 at 3:24 am
UPDATE [MarvelTour_DEV].[dbo].[LocationCopy]
SET
LocationGeography = geography::STGeomFromText('POINT('+CAST(@Longitude AS Varchar)+' '+CAST(@Latitude AS Varchar)+')', 4326)
WHERE LocationID = @ID
So these methods only take Varchar datat type only after converting to varchar it is...
August 14, 2012 at 3:12 am
anthony.green (8/14/2012)
DECLARE @Latitude float = 8.4827
DECLARE @Longitude float = 76.9192
DECLARE @ID int = 1
UPDATE [MarvelTour_DEV].[dbo].[LocationCopy]
SET
LocationGeography =...
August 14, 2012 at 3:02 am
Viewing 15 posts - 46 through 60 (of 135 total)