Viewing 15 posts - 4,381 through 4,395 (of 5,394 total)
Obviously you have to put the parameter name in there.
OK, let's try from scatch: copy and paste the query in a new query editor window.
Replace @Wayside with the actual...
April 22, 2010 at 9:43 am
Try defining the parameter as varchar(50) and filter it in the query like this:
( SELECT name + ',' + state
...
April 22, 2010 at 9:27 am
The parameter should be definded as float, if it holds float data and is compared to a float column.
What value are you passing?
April 22, 2010 at 9:20 am
Which datatype did you choose for the stored procedure parameter?
Which table field are you comparing to the parameter?
April 22, 2010 at 9:05 am
Very well. Still missing definition for table [be_xref_oa]. Can you post it?
Can you post the procedure signature as well?
April 22, 2010 at 8:45 am
I think you can raise an error and have it returned to the report.
Am I missing something?
April 22, 2010 at 8:40 am
This should do the trick:
DECLARE @test-2 TABLE (
D int,
HT int,
Adresse1 char(2),
Adresse2 char(2)
)
INSERT INTO @test-2 VALUES (1,1,'AD','DS')
INSERT INTO @test-2 VALUES (1,2,'BS','HG')
INSERT INTO @test-2 VALUES (1,3,'XD','JH')
SELECT address
FROM @test-2 AS T
UNPIVOT (address FOR...
April 22, 2010 at 8:34 am
Tom Brown (4/22/2010)
Gianluca Sartori (4/22/2010)
Jack Corbett (4/22/2010)
Gianluca Sartori (4/21/2010)
Public const SC AS String = "'" 'Yes, you got...
April 22, 2010 at 8:26 am
Jack Corbett (4/22/2010)
Gianluca Sartori (4/21/2010)
Public const SC AS String = "'" 'Yes, you got it right, it's a single...
April 22, 2010 at 8:02 am
You'd better post the whole procedure text, including parameters and their data type.
It would also be extremely useful if you could post table scripts, in order to understand which data...
April 22, 2010 at 8:00 am
You're welcome!
Glad this solved your issue
April 22, 2010 at 6:55 am
A nonclustered index should drop very quickly (should be metadata only).
I found this in BOL, maybe it could be helpful, even if it comes from SQL2008...
April 22, 2010 at 6:30 am
It depends...
Is the index clustered or nonclustered? It makes a huge difference.
April 22, 2010 at 5:58 am
This should do the trick for you:
declare @CurrentSPResult table(ID int,name varchar(50),unitscompleted varchar(50))
insert into @CurrentSPResult
select 50547, 'rupert', '30%'
declare @CodeTable table(ID int,PersonID int,Code1 char(1),Code2 char(1),Code3 char(1))
insert into @codetable
select 1 ,50547 ,'O'...
April 22, 2010 at 3:40 am
Viewing 15 posts - 4,381 through 4,395 (of 5,394 total)