Viewing 15 posts - 1,681 through 1,695 (of 1,920 total)
Happy to help you , though the help was very little 🙂
April 26, 2010 at 12:04 pm
George i already have coded a piece of dynamic update stored procedure.. now that am at home, i will give u the code tomorrow, so spare another 12 hrs for...
April 26, 2010 at 11:56 am
Your version of SQL Server is 2005 or 2000? You have posted your query in SQL 2005 section but post says "2k"??
That being said, in 2005 you have some thing...
April 26, 2010 at 8:20 am
Happy to have helped you buddy 🙂
April 26, 2010 at 8:05 am
Hi Buddy,how about you going through this following article and helping us help you?? 🙂
CLICK HERE FOR FORUM POSTING ETIQUETTES - JEFF MODEN[/url]
When u do so, i am sure a...
April 26, 2010 at 5:58 am
Then u can create a SQL-CLR procedure, use it inside the TRIGGER definition... inside the CLR, write some code that will relay the messages through LAN..
I can only get you...
April 26, 2010 at 5:52 am
Developer, MSDN link for sp_send_dbmail says that it is possible to send one single mail to multiple users , as in [ , [ @recipients = ] 'recipients [ ;...
April 26, 2010 at 4:09 am
This can be done in 2 ways (as far as i know)
Solution 1:
1. Use OPENROWSET to first read-out all the data from text log file and use it as a...
April 26, 2010 at 2:15 am
You will have to make use of Insert Triggers.. to know more about trigger, go through the following like
MOre specifically , look...
April 26, 2010 at 2:02 am
nguyennd (4/26/2010)
Thanks coffee:-D. But can you rewrite with out subquery or CTE?
Ummmm.. I dont think we can acheive this without CTE or Subquery...
April 26, 2010 at 1:47 am
Also i have another gift for you 😛
I slightly altered the pivot values in the query and i have got another well looking output.. This may be of some help...
April 25, 2010 at 11:20 pm
Hi Gerald... I would suggest you to look thro the first link in the signature line of Lutz.. that will make the volunteers here address your request easily and give...
April 25, 2010 at 11:14 pm
I would use Dynamic Update query in this context... But we must also write that dynamic query to neglect SQL-Injections... But when the number of columns to be updated is...
April 25, 2010 at 10:24 pm
This would work for u!
;WITH CTE (Key1,MAX1,SUM2)
AS
( SELECT Key1, MAX(VAL1) as MAX1, SUM(VAL2) as SUM2 FROM @TableVar
GROUP BY KEY1
)
SELECT TAB.Key1 , TAB.VAL1 MAX1 , CTE.SUM2, TAB.SOMEVALUE
FROM CTE CTE
JOIN @TableVar...
April 25, 2010 at 10:16 pm
john barnett (4/25/2010)
ColdCoffee's code runs your stored procedure from your posting. It assumes it is in the same database as your code and has the same owner.
Spot On, John..
And Nabha's...
April 25, 2010 at 7:37 am
Viewing 15 posts - 1,681 through 1,695 (of 1,920 total)