Viewing 15 posts - 61 through 75 (of 85 total)
WITH cte_insert_report_recipients
AS
(
select a.*,CONVERT(VARCHAR(10),a.[ATID])
+ CONVERT(VARCHAR(10),[AID])
+ CONVERT(VARCHAR(10),a.[ReportID])
+ CONVERT(VARCHAR(10),a.[Frequency])
+ CONVERT(VARCHAR(10),a.[RecipientId])
+ CONVERT(VARCHAR(10),a.[DeliveryMethod]) [ID] from ReportSchedules a
)
insert into ReportRecipients
select
b.ReportID,
b.ATID,
...
September 23, 2013 at 4:28 am
Didn't get the point but definitely learned something. Way to go!
September 23, 2013 at 2:17 am
Koen Verbeeck (9/16/2013)
Nice one. Will probably never use it though 😀
+1
September 17, 2013 at 3:54 am
Ahh! Too many posts and none adding any value to the topic of discussion.
Wrong question or not, if it was able to teach you something new or refresh your...
September 11, 2013 at 4:30 am
I am thinking the post was deliberately designed to confuse.
One can clearly see without even executing the statement that result should be 0 because of string truncation.
If all strings have...
September 11, 2013 at 1:44 am
http://technet.microsoft.com/en-us/library/ff486956.aspx
I believe the question was picked directly from here.
September 6, 2013 at 6:54 am
Here's a pretty good example with proper explanation on use of NTILE.
August 29, 2013 at 2:11 am
Sorry for the late reply. Thanks for your feedback.
Calling the referenced object a "child" of the dbobject was something of requirement at my end. I assumed people using the code...
August 28, 2013 at 2:41 am
Thank you for the feedback guys. A lot of valid points raised and I will certainly look into these.
I posted this based on the tests I did on my end...
August 28, 2013 at 2:36 am
Viewing 15 posts - 61 through 75 (of 85 total)