Viewing 14 posts - 1 through 14 (of 14 total)
Hi thanks for your suggetion,
Where we should use This expression "E:\\Reporting\\Delivered_Reports\\ExcelName_"+
((DT_WSTR,4)Year(GETDATE()))+
RIGHT("0"+((DT_WSTR,2)Month(GETDATE())),2)+
RIGHT("0"+((DT_WSTR,2)Day(GETDATE())),2)+".xls".
In send mail task or somewhere else?
Thanks for your time
June 3, 2015 at 1:51 am
Hi,
I have tried with GETDATE() also, but it did not resolve my issue....
June 1, 2015 at 8:40 pm
Thanks John,
Can you guide me how we can achieve from...
May 18, 2015 at 3:25 am
Thanks for your reply
Actually I want to write 3 seperate queries.
For example: For leval 1, I want those rows who has grand children.
...
May 31, 2013 at 7:58 am
Hi Table is:
CREATE TABLE Intermediary
(
IntermediaryPK INT ,
...
May 31, 2013 at 2:48 am
Hi Rishikesh,
I have tried this query:
SELECT * FROM Intermediaries I1 INNER JOIN
(
SELECT DISTINCT ParentIntermediaryID
FROM Intermediaries
WHERE IntermediaryID = ParentIntermediaryID
) I2
ON I1.IntermediaryID = I2.ParentIntermediaryID
AND I1.ParentIntermediaryID IS NULL
But this query returns...
May 30, 2013 at 4:33 am
Hi
I have tried this query:
SELECT * FROM Intermediaries I1 INNER JOIN
(
SELECT DISTINCT ParentIntermediaryID
FROM Intermediaries
WHERE IntermediaryID = ParentIntermediaryID
) I2
ON I1.IntermediaryID = I2.ParentIntermediaryID
AND I1.ParentIntermediaryID IS...
May 30, 2013 at 12:43 am
I need to do is first of all I have to get all parents records. This is done by joining Intermediries to itself on ParentIntermediaryID = IntermediaryID (inner join) Now,...
May 29, 2013 at 9:55 pm
Hi,
Table is:
SELECT [IntermediaryPK]
,[SourceSystemID]
,[IntermediaryID]
,[IntermediaryName]
,[IntermediaryTypeID]
...
May 27, 2013 at 10:07 pm
Hi Kingston,
Thanks for your quick reply.
...
May 27, 2013 at 4:01 am
Hi Bhaskar,
I want to write a SELECT query where validation should return invalid parents in SELECT If table has....
May 27, 2013 at 2:23 am
Hi Aadhar..
I want to write a SELECT query where validation should return invalid parents If table has....But your query will return all valid parents I think.....
May 27, 2013 at 2:22 am
Can you please give me the query based on the columns IntermediaryPK and ParentIntermediaryPK ? So it should return the output, If any invalid parent is there for...
May 27, 2013 at 1:15 am
Thanks for your quick reply....It works exactly as I wanted.. Thank you very much
May 16, 2013 at 5:23 am
Viewing 14 posts - 1 through 14 (of 14 total)