Viewing 15 posts - 256 through 270 (of 1,124 total)
Since you don't have the religion to modify existing part of the query, you may not have many options to do. Here is one way of doing it...
SELECT ...
May 8, 2009 at 4:22 am
1. Create a dataset to populate the fourth parameter
2. This dataset must include the dependent parameters (i.e. Region) as filter or where clauses
3. Create a new report parameter and select...
May 8, 2009 at 3:44 am
What errors do you get when executing the queries?
Did you create a linked server to connect to the remote server?
Here is sample script to create a linked server:
DECLARE @strLinkedServer NVARCHAR(100)
SELECT...
May 8, 2009 at 3:24 am
Assuming that the no. of pivot columns is not static, you have to build a dynamic pivot SQL for each distinct value of the pivot column.
The below solution uses the...
May 8, 2009 at 2:51 am
Yes, it is possible in SQL 2005 using ROW_NUMBER() function.
CREATE VIEW dbo.vwSysTables
AS
SELECT ROW_NUMBER() OVER( ORDER BY [name] ) AS UniqueNo, [name] FROM sys.tables
GO
SELECT * FROM dbo.vwSysTables
DROP VIEW dbo.vwSysTables
May 8, 2009 at 12:56 am
Firstly, you should have posted this in the correct forum. Since you posted in SQL forum, you get responses related SQL.
Secondly, I am not crystal report designer but...
May 4, 2009 at 5:17 am
I would go with SSIS and the following link should get to started
http://www.sqlis.com/post/Looping-over-files-with-the-Foreach-Loop.aspx
May 4, 2009 at 4:54 am
Look for ISOLATION LEVELS in Books Online..
Setting the isolation level to "READ COMMITTED" should avoid the dirty reads (not sure on this).
May 4, 2009 at 4:45 am
Most of the time cursors/loops performs poorly than set based methods with only some rare cases when loops performs better than a set-based approach.
In your case, one go insert is...
May 4, 2009 at 4:36 am
See this following link that explains the warehouse refresh methods...
http://www.sqlis.com/post/Get-all-from-Table-A-that-isnt-in-Table-B.aspx
May 4, 2009 at 4:14 am
Look for Package Configurations in Books Online
May 4, 2009 at 4:07 am
Since you already have a working calendar table, all you need is a COUNT query to get the no. of working days between two dates. For e.g.
DECLARE @Date1 DATETIME,...
May 4, 2009 at 3:55 am
If you want the rows from a query to be returned in any specific order then you must specify the ORDER BY clause. For e.g.
SELECT * FROM SomeTempTable ORDER BY...
May 4, 2009 at 3:45 am
Bob was saying that you need a add a Boolean report parameter through "report parameters" option and this will let the users provide an to display full text or the...
April 30, 2009 at 8:34 am
I don't think I understood very well, can explain us what do you mean by "the results of one query gets clubbed with another query"? How about adding some...
April 30, 2009 at 8:19 am
Viewing 15 posts - 256 through 270 (of 1,124 total)