Viewing 15 posts - 8,461 through 8,475 (of 9,643 total)
You would need to use dynamic sql and even then I am not sure is would work. Something like:
Declare @sql varchar(max)
Set @sql = 'insert into ' + @dbname +...
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
June 6, 2008 at 2:42 pm
Checking everything is part of the job. First things to look for are Table Scans and Clustered Index Scans(basically a table scan). If you can eliminate these you...
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
June 6, 2008 at 2:33 pm
There is aseries of articles on this site by Troy Ketsdever called Toward Integrity that might help you make a decision on the design. The first article is here:...
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
June 6, 2008 at 2:29 pm
Wish I could help more, but I can't find anything related to this error in SQL 2005. Found lots of stuff for SQL 2000 though. I know this...
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
June 6, 2008 at 2:04 pm
I use SQL Server in a generic manner when referring to the physical server on which any SQL Server components reside (SSIS, SSRS, SSAS, Database Engine). So in this...
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
June 6, 2008 at 1:54 pm
Marios,
Are you using SQL 2000 or 2005? I know you are in a 2005 forum so I assumed 2005, but I found this MS link for this...
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
June 6, 2008 at 1:51 pm
The only thing I have read about this is what you have already mentioned. The DLL needs to be in the .NET framework folder on the developer's machine so...
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
June 6, 2008 at 1:38 pm
Do you want the data as well? If you want to copy the data and the structure you just need to use select into in the dynamic sql. ...
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
June 6, 2008 at 1:35 pm
NaN means not a number so I would assume you have null values. You also need to be careful that your divisor is not 0 or you will get...
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
June 6, 2008 at 1:31 pm
Good advice all around. The only thing I will add is that you need to make sure trailing blanks are removed on insert from varchar fields as the ANSI...
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
June 6, 2008 at 1:05 pm
You would need to use dynamic SQL to create the table. Like:
[font="Courier New"]DECLARE @sql VARCHAR(MAX)
SET @sql = 'Create Table test_table_' + CONVERT(VARCHAR(15), GETDATE(), 112) + '(test_id int primary key,...
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
June 6, 2008 at 1:02 pm
About the only thing I use triggers for is for change logging on the key tables. Other than that any business logic is either in the middle layer or...
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
June 6, 2008 at 12:58 pm
Nice article Grant. Not sure if I'll use it or not, since there are other ways of collecting the information without MOM, but since we have MOM it might...
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
June 6, 2008 at 6:46 am
I thought it was a good question, but I must admit to having thought that you could answer Yes if you thought that the question meant that each individual query...
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
June 5, 2008 at 6:01 pm
How do you find a problem where between 8am-9am the application is in use and performance is fine, then from 9am on it grinds down, but according to the customer...
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
June 5, 2008 at 1:44 pm
Viewing 15 posts - 8,461 through 8,475 (of 9,643 total)