Viewing 15 posts - 271 through 285 (of 623 total)
I might want to prepare a report for management detailing the state of the database and recommended actions. I would be careful here not to be judgemental, just the facts....
November 19, 2012 at 1:17 pm
Thanks all. I went with dwain.c's "normal" catch all query form.
November 16, 2012 at 11:12 am
>>Additional questions. What results should be for this?
The parameters will be validated through an user interface so I don't expect any of those conditions to exist.
November 16, 2012 at 11:10 am
This works as expected. I can set the ssrs dataset query properties by declaring the table valued parameter, populating it with previously set ssrs parameters if needed, and then passing...
November 9, 2012 at 8:43 am
Thank you mister.magoo
Below is working code....
I'll follow back up when/if i can get this working in my ssrs report.
I'll create a datset set called cities in my report setting its...
November 7, 2012 at 6:29 pm
I think I need a table valued parameter (TVP)
--Declare the type
CREATE TYPE testType AS TABLE
(
Parameter varchar(40),
ParameterType varchar(40),
ParameterValue varchar(100)
);
--Create a procedure that accepts a TVP
CREATE PROCEDURE dbo.uspMasterParameters
@TVP...
November 7, 2012 at 5:54 pm
If you can't put the horse back in the barn then I am not sure what you can do.
Options seem to be:
-modify the existing linked server to point to the...
November 5, 2012 at 1:27 pm
I have moved away naming linked servers using either server-specific or even database-specific names.
It creates confusion when a server goes away and all your code refers to something which doesn't...
November 5, 2012 at 12:59 pm
Thanks All,
My option seem clear.
1) dynamic sql
2) The easy and one could argue proper way, IF @SelectType = 'ALL' ...ELSE...
3) My mini hack-SET top to an arbitrary maximum number
I may...
October 29, 2012 at 3:17 pm
Sure and I may go in that direction depending if there are other options.
Downside to forking the code is my actual situation is a bit more complicated and there would...
October 29, 2012 at 12:42 pm
If you are really on SP1 you will have to decide whether you are going to install the latest service pack or not.
If you want to proceed search 'SQL Server...
October 26, 2012 at 2:37 pm
Refer to this and let us know the results.
http://sqlserver2000.databases.aspfaq.com/how-do-i-know-which-version-of-sql-server-i-m-running.html
October 26, 2012 at 1:55 pm
Did you get this information by running @@VERSION in SSMS/Query Analyzer?
If you are on SP1 you will need to apply the latest service pack, SP1 I believe, and run the...
October 26, 2012 at 1:47 pm
Whats the service pack level of the SQL Server 2000?
October 26, 2012 at 1:32 pm
Ok, thanks, it sure seems like REPLACE would be the way to go.
Views don't seem possible.
This is invalid syntax because of the parameter.
CREATE VIEW myView
AS
select REPLACE(footer,'@client',@client) from Footers
I'll probably use...
October 22, 2012 at 2:21 pm
Viewing 15 posts - 271 through 285 (of 623 total)