Viewing 9 posts - 1 through 10 (of 10 total)
Can i Do Delete from table and the INSERT new record into the table?
what are the potential hazards?
July 15, 2014 at 7:09 am
Hi,
Thats a question....where should i use the update statement...in front of select or after group by...the thing is when i set my column names equal to result table column names...
July 15, 2014 at 6:55 am
Hi John
how can i update the final table with the result of these query because INSERT INTO command adds additional rows with same data everytime. I just want to UPDATE.
July 15, 2014 at 6:47 am
MyTable
Id Fruit
-- -----
1 Apple
2 Banana
3 Apple
4 Watermelon
5...
July 15, 2014 at 4:55 am
Hi Guys,
I had a success in what initially i was trying to do. Thanks for your help.
I have another question. Basically what i need is put results of this query...
July 15, 2014 at 4:29 am
its Just two columns
as described in the example in my first post.
July 14, 2014 at 9:48 am
DECLARE @cnt int;
SELECT @cnt = Count(Distinct Fruit) from [MyTable];
UPDATE Result SET Count=@cnt;
July 14, 2014 at 9:40 am
Hi John,
As i am a beginner to SQL..
I am struggling to write a query for this. So far i managed to write a query which count distinct values in a...
July 14, 2014 at 9:22 am
Hi,
PLEASE CAN ANYONE HELP ME IN THIS....AS I AM NEW TO MS SQL
rEGARDS,
BILAL
July 10, 2014 at 7:48 am
Viewing 9 posts - 1 through 10 (of 10 total)