Viewing 11 posts - 1 through 11 (of 11 total)
I also have a column called customerid in "PaymentsSchedule" table whose value is 3, which I forgot to mention earlier.
I have a table called "PaymentDetail" as below:
IDPaymentIDSequenceOrderIDPaymentAmount
151390313999991123450.00
----------------------------------------------------------------------------------------------------------------------
Also I have...
March 30, 2010 at 1:54 pm
Below is my entire query. Please look at the code which starts as
SELECT ISNULL(x.CTTitle,x.CTTitle1) As TheTitle
....
...
...
I am getting the syntax error as Incorrect syntax near the keyword 'SELECT'.
Please...
August 4, 2009 at 9:55 am
Here is my query:
SELECTDISTINCT
CASE
WHEN DonorCompanyID -1 THEN d.OrderID + d.DonorCompanyID
ELSE d.ID
END REFERENCE,
CASE
WHEN DonorCompanyID -1 THEN d.OrderID
ELSE d.ID
END REFERENCE1,
o.OriginalOrderID,
d.Trandate,
d.donorcompanyId,
c.Name AS CName,
c.LCDistrictName,
od.ShipToID,
od.shiptoname,
CASE...
August 4, 2009 at 9:41 am
I am sorry I did not mention that I am using SQL Server 2000
August 4, 2009 at 9:11 am
Thank You so much!!!!! I just checked your reply, I will try this solution
June 16, 2009 at 7:40 pm
not sure how to do that but I will try.
Can you please provide me the code if possible .
June 16, 2009 at 12:51 pm
Thanks a lot!
June 12, 2009 at 3:16 pm
I mean "with" clause with a common_table_expression in SQL Server 2000.
e.g. can I write as follows:
with x (startdate, enddate)
as
(
select ............
)
June 12, 2009 at 11:11 am
Viewing 11 posts - 1 through 11 (of 11 total)