Viewing 15 posts - 9,556 through 9,570 (of 9,643 total)
Could you post the entire sp that is giving you the error? It is hard to tell what the problem could be from the snippets you have provided.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 29, 2004 at 2:53 pm
Both boxes are int the same domain. The SQL Server is running under a Domain account and allows both SQL and Windows logins. I have tried setting up the RS...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 26, 2004 at 7:10 am
My first question would be why the temp tables are not being dropped when the connection is closed? The statement you list will work with the following changes:
if exists (select...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 25, 2004 at 3:30 pm
Could you post your select statement? I use linked servers using ODBC to an AS400 and have not seen this particular issue.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 25, 2004 at 3:21 pm
Does the first dataset create a table in SQL or a table in the report? If it creates a table in the report I don't think there is a way...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 25, 2004 at 3:11 pm
We had this problem just logging into one of SQL Servers using NT Authentication. I believe we had to reboot the SQL Server in order to use NT Authentication. It was...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 25, 2004 at 3:08 pm
I probably should have included the if exists in my sample. I would replace the COunt(*) code and the if @type = 'Update' to this:
If Exists(Select * from deleted) --updated...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 24, 2004 at 11:23 am
Using Distinc and then doing concatenation is definitely going to slow down the query. Distinct can cause a table scan. You would be better off to use a group by...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 24, 2004 at 9:03 am
I always favor stored procedures for data access. Even if I were using views I would not write select statements in the front end against the view, I would write...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 24, 2004 at 8:38 am
First off, looking at your code, you have an insert update trigger so if it fires there will ALWAYS be data in the inserted table, so getting a row count...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 24, 2004 at 8:03 am
This is in addition to my last post. I participated in a Web seminar on RS by SQL Server Magazine last week and they demonstarted creating a standard report template...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 22, 2004 at 11:35 am
Rayven, are you going through any kind of Proxy server that may be caching the PDF?
I had the other problem with blank pages sort of. I had 3 subreports on a report, ...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 22, 2004 at 11:22 am
Try this, it's not all that much differnet from what you already have:
Create FUNCTION
dbo.udf_GetEMpsBYManager
(
@empid
char(6)
)
RETURNS
@table_variable TABLE Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 19, 2004 at 3:02 pm
Much simpler to begin your sp with Set Transaction Isolation Level Read Uncommitted. This means that any selects in the batch/sp will allow dirty reads, but will not hold locks,...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 19, 2004 at 2:47 pm
I'd go with A as well. I'm guessing you could very cheaply add Hard disk space to A if you find the need. You also want the development server ot...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 19, 2004 at 2:44 pm
Viewing 15 posts - 9,556 through 9,570 (of 9,643 total)