Viewing 15 posts - 1,036 through 1,050 (of 1,124 total)
Ram,
Its just the basic stuff, but anyhow thanks for appreciating....:):)
Adam,
Where R U?:hehe: Have you got what you wanted or you've found some other way around?
October 18, 2007 at 9:26 am
Here is what i got...
I think there's still some room for improvement....:D:D
IF OBJECT_ID( 'tempdb..#Cars' ) IS NOT NULL
DROP TABLE #Cars
IF OBJECT_ID( 'tempdb..#Colours' ) IS NOT NULL
DROP TABLE #Colours
CREATE TABLE #Cars(...
October 17, 2007 at 5:25 am
I guess CTE is best suited for recursive logic...
Also, please provide us with some sample data and the output that you require, without which we're just working blindly....
October 17, 2007 at 5:23 am
Lim,
I just misread your post...
I guess you want to extract the all records when value of your memo column ends with some defined string...(say ABC), then you can use...
October 17, 2007 at 3:59 am
Use PATINDEX for searching patterns....
SELECT (CASE WHEN PATINDEX('%ABC%', YourMemoField) > 0 THEN 'Match' ELSE 'No Match' END )
FROM YourTable
October 17, 2007 at 3:30 am
Its a great article and thanks for sharing it...
I wonder, is there's any way of knowing the existence of a key before reading it?
October 17, 2007 at 3:20 am
Search the forum you will surely find many articles on it...
October 17, 2007 at 3:13 am
Noel,
Full text search is a service named as Microsoft Search OR MSFTESQL...
You can go to services console & check what account is used to start the service...
October 17, 2007 at 3:04 am
Just use..
EXEC sp_fulltext_database 'enable'
October 17, 2007 at 1:28 am
Sandy,
I guess this is what you require...
UPDATE t2
SET t2.salary = 5000
FROM
#Tb1 t1 INNER JOIN #Tb2 t2
ON t1.id = t2.id
October 17, 2007 at 1:22 am
May be you can try the below query....I hope it works :D:D
WITH StepCTE
AS
(
SELECT from_step_id, to_step_id, 0 as rlevel FROM yourtable WHERE from_step_id = 0
UNION ALL
SELECT CTE.to_step_id, T.to_step_id, CTE.rlevel + 1...
October 16, 2007 at 8:41 am
You can use the link what Tommy has provided...
October 16, 2007 at 8:31 am
I wondering what errors you're getting in date calculations...:cool:
May be you can have a look at your server's default date/time settings...
October 16, 2007 at 7:42 am
Viewing 15 posts - 1,036 through 1,050 (of 1,124 total)