Viewing 15 posts - 1 through 15 (of 25 total)
Ninja's_RGR'us (2/22/2009)
My solution will work, you just need to figure out a way to make a permanent connection to the server without tying up someone or a...
February 22, 2009 at 10:36 am
Ninja's_RGR'us (2/22/2009)
My solution will work, you just need to figure out a way to make a permanent connection to the server without tying up someone or a...
February 22, 2009 at 10:17 am
Ninja's_RGR'us (2/22/2009)
while 0 = 0
begin
Delete FROM...
waitfor delay '00:20:00'
end
I don't know any way to...
February 22, 2009 at 9:59 am
Ninja's_RGR'us (2/22/2009)
management studio >Open your server >
SQL server Agent >
jobs >
Right click for all your options
Thnaks
I bought some database space and I dont have any permission to setup SQL...
February 22, 2009 at 9:38 am
Ninja's_RGR'us (2/22/2009)
Then in the job, simply do a
Delete FROM Orders WHERE datediff... >= 20
Search for datediff in bols for...
February 22, 2009 at 8:25 am
Thanks for your quick reply
could you please give me more description, like where i need to write code
February 22, 2009 at 8:22 am
steveb (12/11/2008)
to find the name that has the highest average moneyx use;
SELECT TOP 1 namex,AVG(moneyx) AS MoneyXAvg
FROM [Temp]
GROUP BY namex
ORDER BY MoneyXAvg DESC
Thank You Very Much
It does work.
December 11, 2008 at 8:18 pm
Jeff Moden (6/7/2008)
June 9, 2008 at 3:17 pm
Lynn Pettis (6/7/2008)
June 9, 2008 at 3:14 pm
ramkumar (6/7/2008)
Hi...Just try the below..
Select Sum(OrderDetails.TotalPrice)
from OrderDetails ,orders
where OrderDetails.Mtype='M1' and OrderDetails.OrderID = Orders.OrderID Group BY OrderDetails.OrderID
Dear Rum
Query you sent me it doesn't work when I put it on Orders.M1...
June 7, 2008 at 6:41 am
ramkumar (6/7/2008)
Just try like below example..
This is working fine..
-- Suppress data loading messages
SET NOCOUNT ON
-- Create Sample Data using a Table Varable
DECLARE @OrderDetail TABLE
(orderid int,
productname varchar(30),
productqty...
June 7, 2008 at 12:30 am
ramkumar (6/7/2008)
you please send the whole Query which you got tried to execute..Ram
Thanks Ramkumar
Create Order Table query
USE [testSZ]
GO
/****** Object: Table [dbo].[orders] Script Date: 06/07/2008 07:16:14 ******/
SET...
June 7, 2008 at 12:24 am
Hi ramkumar
Thanks for your reply, is it possible to get the menu total price automatically?
If yes then how?
Just think Menu1_Price is compute column and would like to get summation from...
June 7, 2008 at 12:13 am
thanks everybody
i have done my task, code is below
[font="Verdana"]DaysDelay AS (CASE WHEN SubmitDate IS NULL THEN DATEDIFF(DD, DUEDATE, GETDATE())
ELSE DATEDIFF(DD,Duedate,SUBMITDATE) END ),
FINED AS (CASE WHEN SUBMITDATE IS NULL AND...
November 12, 2007 at 2:23 pm
Viewing 15 posts - 1 through 15 (of 25 total)