Viewing 15 posts - 46 through 60 (of 85 total)
Easy one. Thanks.
October 7, 2013 at 1:55 am
Count returns count of unique non null values. Easy one.
October 2, 2013 at 1:13 am
L' Eomot Inversé (9/27/2013)
ksatpute123 (9/26/2013)
September 27, 2013 at 8:52 am
Easy one. Thanks.
Just to close the gaps, the option should have been VARBINARY(MAX) instead of just VARBINARY because anything else like VARBINARY(N) {N being a natural number up to...
September 27, 2013 at 1:03 am
crussell-931424 (9/26/2013)
September 26, 2013 at 7:05 am
ronmoses (9/26/2013)
Toreador (9/26/2013)
September 26, 2013 at 6:44 am
etsav (9/26/2013)
[font="Courier New"]DECLARE @STR VARCHAR(8000) = N'SELECT * FROM sys.objects'
EXECUTE SP_EXECUTESQL @STR[/font]
works on MSSQL 2008 -->
On MSSQL 2005 it returns
[font="Courier...
September 26, 2013 at 2:25 am
Stuart Davies
Nice and easy today - thanksKnew the answer to this through bitter experience Smile
+1.
September 26, 2013 at 2:23 am
dwain.c (9/23/2013)
INSERT INTO ReportRecipients
SELECT rs.[ReportID]
,rs.[ATID]
...
September 24, 2013 at 1:43 am
I had to think about it for a while before answering. Good one.
September 24, 2013 at 1:42 am
I tested the result for both the queries. The result was with not much difference taking the same time. This was due to the volume of data. At high volumes...
September 23, 2013 at 2:15 pm
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:40 am
Viewing 15 posts - 46 through 60 (of 85 total)