Viewing 15 posts - 1 through 15 (of 25 total)
Thanks for your reply.
I applied below syntax to get the result:
dateAdd(hour,(datediff(hour, getdate(),getutcdate())-1), getdate())
I also wanted to get UTC today's midnight datetime ...How do i get that??
November 28, 2011 at 10:11 pm
What is your requirement and expected result ??
September 26, 2011 at 11:43 pm
Sean, yes ,SQL shows Error conversion... Instead of this, is there any possible way to display user-defined msg??
or If the above is feasible from reporting end (SSRS)....??
September 26, 2011 at 10:55 pm
Can someone tell me how to validate the input paramater from SSRS reporting ??
September 26, 2011 at 10:49 pm
try this..
where (Commodity like '%' + @Commoditylike + '%') or (Commodity Is NULL)
September 23, 2011 at 7:25 am
Here is an example of what im expecting..
CREATE PROCEDURE sp_test
(
@number float
)
AS
------Do Pre-Check if valid parameter-------
SELECT * FROM Works where number =@number
GO
=========================
If i execute the above SP something like: ...
September 23, 2011 at 6:56 am
Hi,
One of the cause i could think may be many users (doing transaction/accessing)hitting that particular table at the same time would lead to slow performance...
Does both the instance(PROD and STG)...
September 23, 2011 at 1:00 am
Many Thanks frfernan!!
I have changed my function as advised... The output return within secs..Cheers!!
September 16, 2011 at 1:02 am
ALTER FUNCTION CountDocumentFunction
(
@ID float
)
RETURNS INT
AS
BEGIN
DECLARE @Out int
SELECT @Out = COUNT(DISTINCT B2.ITID) FROM MainProjects B1
INNER JOIN ITEMS B2 ON B1.id = B2.id WHERE B1.TID = @ID
RETURN @Out
END
September 13, 2011 at 11:21 pm
Can anyone help me on this?
August 25, 2011 at 9:29 pm
It will be great if you provide an example...
August 24, 2011 at 5:50 pm
Hmmmm... i just want to print the output in a text file 🙁 ....any alternative way u could suggest??
August 4, 2011 at 6:05 pm
Thanks 🙂 ..
July 18, 2011 at 8:32 pm
Viewing 15 posts - 1 through 15 (of 25 total)