Viewing 15 posts - 8,731 through 8,745 (of 9,644 total)
Can you give some example data and table structure(s)?
Are you returning all the data needed in the report in one data set or multiple data sets? What does the...
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
April 29, 2008 at 9:11 am
I don't know that I would say "evil", but dangerous would be a good term. I mean how can it be evil when the whole point of storing data...
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
April 29, 2008 at 9:06 am
Here is a link to another forum discussing parameterized views (which SQL Server does not have) which applies to what you want to do, I think.
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=73034
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
April 29, 2008 at 9:00 am
sara karasik (4/29/2008)
Thanks for the info on CTE's.Has anyone compared the speed of CTE's vs. temporary tables vs. a table variable ?
Generally over small datasets a CTE will be faster.
Can...
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
April 29, 2008 at 8:58 am
You can't create a view this way. Where are you getting the id from in the case statement? It can't be from the earlier selects. I think...
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
April 29, 2008 at 8:48 am
Q (4/28/2008)
wouldn't this query work in 2000?
select * From syscolumns
where autoval is not null
to get more specific info
select a.name as ColumnName ,b.name as TableName
From syscolumns a
inner join...
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
April 28, 2008 at 8:36 am
pradeep_panzade (4/27/2008)
Hi,Can u please send me one example explaining the error output to SQL Table.
Pradeep
I think I see what you are asking for now. I never mention in the...
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
April 28, 2008 at 7:30 am
aghasemi (4/27/2008)
There Is no such a way when database engine is SQL server 2000.the following query returns error:SELECT [object_id], [name] FROM sys.columns
WHERE is_identity = 1
The question CLEARLY states "In 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
April 28, 2008 at 7:23 am
I thought the article was well-written and easy to follow. I do agree with others that loading the first row (header) as data in the source would be the...
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
April 28, 2008 at 6:58 am
Excellent Peter, I should have thought of that, too! It's a simple solution.
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
April 27, 2008 at 6:37 am
I believe you need to use "*" in SSRS as it is not SQL, but .net.
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
April 25, 2008 at 4:28 pm
I think this will work:
[font="Courier New"]CREATE TABLE #db_size
(
data_Id INT,
run_Date DATETIME,
data_size_mb DECIMAL(15, 2)
)
INSERT INTO #db_size
SELECT
3311, '2007-01-02 00:00:00.000', 2977404.13
UNION
SELECT
3327 ,'2007-01-04 00:00:00.000',...
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
April 25, 2008 at 2:42 pm
junkmail (4/25/2008)
So somehow I need to be able to generate the GetDate() result and...
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
April 25, 2008 at 2:10 pm
Run Select @@Version and you get something like this:
Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86)
Mar 23 2007 16:28:52
Copyright (c) 1988-2005 Microsoft Corporation
Developer Edition on Windows NT 5.1...
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
April 25, 2008 at 1:47 pm
How are you going to change the logo? Are you going to put in a switch statement that loads an image from a file?
The only way I know to...
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
April 25, 2008 at 1:45 pm
Viewing 15 posts - 8,731 through 8,745 (of 9,644 total)