Viewing 15 posts - 376 through 390 (of 1,346 total)
declare @Attorneyrname as string
declare @Report_Parameter_1 as string
declare @params table (ID tinyint)
if @Report_Parameter_1 = 'All'
Begin
insert into @params (ID)
select 1 union
select 2
End
else
insert into @params (ID)
select CASE @Report_Parameter_1...
April 23, 2007 at 9:27 am
Basically......
Well, You don't.
Reporting services only works with recordsets.
No access to Return Codes.
I have never needed to use Output parameters, but I don't think you can as mentioned RS only...
April 20, 2007 at 8:52 am
Go to Report Parameters.
Modify your Query
Assign Report parmeter to query Parameter
Hope this make...
April 19, 2007 at 10:34 am
the Logical design is not saved anywhere in the database that you can query for.
you have to figure it out by the way its modeled.
if CustomerID is the primary key...
April 16, 2007 at 7:09 pm
Can you verbalize your requirements a little better,
You stated that it is a many to many relationship.
a customer has many contacts, but can a contact belong to many customers?
the...
April 12, 2007 at 8:18 pm
I believe yes.
When you shutdown your server, all services are stopped. at which point sql server "Closes" the mdf and ldf files.
apon reboot, sql server basically "Opens" the files again,...
April 12, 2007 at 1:21 pm
You are correct sir.
If the app is explicitly passing in a null then sql will insert the null. If you put a not null constraint on the field then app insert...
April 5, 2007 at 2:10 pm
Personally i'd make the presentation layer do it.
But you can use a UDF to do the same thing.
-- Set up Test Scenario
use pubs
Create table mytable (pk int identity, [ID] int,...
April 5, 2007 at 10:00 am
He he , Your funny, unfortunatelly t-sql and dates is not the functionality that sets MSSQL apart from Mysql.
Its always a good idea to...
April 5, 2007 at 9:50 am
Can you elaborate any more?
A few things you need to make sure a partitioned view perform well.
Each table needs to have a check constraint on the value you are partitioning...
April 5, 2007 at 9:41 am
Dare I say parameter sniffing.
When I see the behavior where straight t-sql runs fast, but procedure runs slow, is the query plan getting stored by the optimizer is not correct...
March 21, 2007 at 9:29 am
well it loooks like you have your data type declarations incorrect.
you have declared a numeric (10,0)
which means your number can only be up to 1,000,000 with no decimals.
If any numbers your...
March 12, 2007 at 6:06 pm
A where clause must be constructed in the form of an expression.
so
Where p.SellerProductID not like '%-Wav%'
So you cannot have the entire portion of your expression within a single then statement of...
February 27, 2007 at 9:11 pm
February 22, 2007 at 9:22 am
You still need a method of authentication so you will know which reports a user can see.
Reporting services has Forms authentication, but it takes a little work.
January 29, 2007 at 6:07 pm
Viewing 15 posts - 376 through 390 (of 1,346 total)