Viewing 15 posts - 1 through 15 (of 17 total)
Thanks guys, VIEW SERVER STATE did the trick. Got thrown by the fact that it threw an error about a deferred prepare.
February 27, 2012 at 2:18 pm
That worked! Thanks very much Peter, I hadn't considered casting as XML.
Cheers
October 25, 2011 at 6:24 pm
GilaMonster (10/24/2011)
What defines that a row is 'first'?SQL doesn't have any internal insert time or anything like that and tables have no order.
Unless the table is a clustered index,...
October 24, 2011 at 6:03 pm
If you want an XML fragment to retain the special characters the leaf of the node needs to be either [*] or [node()]. Since your leaf (td) is neither...
October 24, 2011 at 4:02 pm
Sorry to bump this, but I really need an answer. Has anyone got any ideas please?
October 23, 2011 at 1:18 am
Lowell (10/20/2011)
FOR XML PATH('tr'), TYPE)
in that case, TYPE escapes out all the brackets (less than,greaterthan, quotes, etc) that would have been HTML.
FOR XML PATH('tr'))
will...
October 20, 2011 at 7:31 pm
Thanks for the replies guys. Turns out one of the analysts was inserting 27 million rows and doing a lot of sorting on non indexed columns. He finished his run...
May 25, 2011 at 5:53 pm
SQLRNNR (5/24/2011)
Try this article for some info on things you can do to troubleshoot the growth.
I do not have a problem with the transaction log, it's the actual database files.
Thanks...
May 25, 2011 at 12:32 am
Thanks for the advice. Turns out that the telco already made a payment to us and therefore hosting the solution and just providing the service to them is not an...
May 24, 2011 at 9:12 pm
Fixed it. The second tablix was overlapping the first tablix ever so slightly. Moved it down a notch and redeployed the report, the problem with printing is gone now.
March 27, 2011 at 4:36 pm
rjohal-500813 (3/2/2011)
It might be because you are mixing old and new style joins in one statement. Do either of the following two work?
SELECT
invoice.contactid, invoicedetail.invoiceid, RecType=2, DetailID=invoicedetail.id, invoice.trandate, Reference=ISNULL(ItemCode,''), Details=ISNULL(Description,''),...
March 2, 2011 at 6:21 pm
Sorry for the delayed answer. I didn't provide any DDLs because I was sure that something wasn't right. I eventually got the string manipulation working, but found that the function...
January 19, 2011 at 2:31 pm
Using either of your examples, I get the values returned as multiple rows. SQL then only filters on the first row. For example, if @Fund = 'Annual Giving 2008, Annual...
January 16, 2011 at 4:28 pm
ALTER PROCEDURE [dbo].[sp_AllFundraisingPayments]
@Fund NVARCHAR(MAX)
AS
BEGIN
SET NOCOUNT ON;
CREATE TABLE #Fundraising(
AccountNo INT,
ContactID INT,
AccountTo NVARCHAR(MAX),
FundraisingGreeting NVARCHAR(MAX),
FirstName NVARCHAR(MAX),
PreferredName NVARCHAR(MAX),
LastName NVARCHAR(MAX),
MailingAddressID INT,
Address1 NVARCHAR(MAX),
Address2 NVARCHAR(MAX),
Address3 NVARCHAR(MAX),
Postcode NVARCHAR(MAX),
Country NVARCHAR(MAX),
FundInvoiceID INT,
DueDate DATETIME,
FundId INT,
FundCode NVARCHAR(MAX),
Fund NVARCHAR(MAX),
SubfundID INT,
SubFundCode NVARCHAR(MAX),
Subfund NVARCHAR(MAX),
Amount INT,
PaidDate...
January 16, 2011 at 4:02 pm
Looks like I might be on the wrong track, my apologies for the confusion.
Here's a bit of background. I have a SSRS report running that has the ability for users...
January 16, 2011 at 3:54 pm
Viewing 15 posts - 1 through 15 (of 17 total)