Viewing 15 posts - 34,711 through 34,725 (of 49,552 total)
I'd select and group by the column from member base data, rather than from transactions, seeing as t.Buyer is allowed to be null due to the outer join.
January 14, 2010 at 2:10 pm
What's the definition of the clustered index, and what are the data types of the columns that make it up?
What version of SQL is this? (run SELECT @@version)
January 14, 2010 at 1:54 pm
kumar.kunda (1/14/2010)
i got error as specified earlier,how can it be resolved.
If you read my post, I told you how it can be resolved.
Drop the clustered index on tblTime and recreate...
January 14, 2010 at 1:50 pm
Your between statement is incomplete.
Where Coalesce(tblAuditMain.AuditDate,'') >= Coalesce(@BeginDate, Coalesce(tblAuditMain.AuditDate,''))
And Coalesce(tblAuditMain.AuditDate,'') <= Coalesce(@EndDate, Coalesce(tblAuditMain.AuditDate,''))
And Coalesce(tblAuditMain.AuditYear, '') = Coalesce(@AuditYear, Coalesce(tblAuditMain.AuditYear,''))
And tblAuditQuesLkup.AuditQuesType BETWEEN @AuditQuesTypeParameter -- and what?????
Group By tblAuditQuesLkup.AuditQuesNumber, tblAuditQuesLkup.AuditQuestion, tblAuditQuesType.AuditQuesAuditType,
tblAuditQuesLkup.AuditQuesType
Order By...
January 14, 2010 at 1:45 pm
Please post table definitions, sample data and desired output. Read this to see the best way to post this to get quick responses.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
January 14, 2010 at 1:44 pm
What I've had to do before, when there were no x64 drivers, was to set up another server (x86), install SQL on there and use the x86 drivers. Not ideal,...
January 14, 2010 at 1:39 pm
Is that the only error? If not, please post the results of this
DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS
Drop the clustered index on tblTime and recreate it. That should fix...
January 14, 2010 at 1:36 pm
SQL Learner-684602 (1/14/2010)
I used account number in both places, instead of order by area
(PARTITION BY ACCT_NO ORDER BY ACCT_NO)
In other words, you don't care which row you get back, you...
January 14, 2010 at 1:32 pm
avi-631555 (1/14/2010)
all i need to do is to strip out any html tags from all the colums in the db entered by croos site scripting.
May I suggest, rather than trying...
January 14, 2010 at 12:34 pm
Nice set of addresses. What are we supposed to do with them?
January 14, 2010 at 11:21 am
jcrawf02 (1/14/2010)
January 14, 2010 at 11:18 am
You colleague is closer to correct, but he's still wrong in one place.
Regardless of recovery model, SQL follows this method for reading/writing. (this has not changed fundamentally since SQL 2000)
Update/insert/delete....
January 14, 2010 at 10:11 am
Please post table definitions, sample data and desired output. Read this to see the best way to post this to get quick responses.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
January 14, 2010 at 10:06 am
ifila (1/14/2010)
TOP 60000 - 8 seconds all the way down...
January 14, 2010 at 10:02 am
Viewing 15 posts - 34,711 through 34,725 (of 49,552 total)