Viewing 10 posts - 1 through 10 (of 10 total)
use table variable tables for easy understanding.
-----------modify only third sp
Create Proc Third
AS
begin
Declare @date1 int
, @date2 int
, @date3 int
declare @VerTable2 table(SndSpV int)
declare @VerTable1 table(FstSpV int)
insert into @VerTable1 exec...
December 18, 2013 at 6:29 am
thank q Hugo Kornelis for clear explanation for my post.
July 8, 2013 at 3:11 am
hi
find below code
declare @retval varchar(100)
DECLARE @STR VARCHAR(100);
set @STR='Nyal Pra Raj'
SET @STR=RTRIM(LTRIM(@str));
SET @retval=LEFT(@str,1);
...
March 19, 2013 at 12:54 am
Very nicely article share with us ,thank q Dwain Camps.
regards
prasad
August 7, 2012 at 1:04 am
hi all,
i got answers
declare @table table (rid int, tot int)
insert into @table
select 1,10
union
select 2,20
union
select 3,30
union
select 4,40
union
select 5,50
union
select 6,70
SELECT rid,tot,
(SELECT SUM(tot)
...
June 21, 2012 at 8:15 am
hi,
I think you can use two select statements
1) for select top 10 results with count
2) wanted columns list from tables using where cluase above Query.
SELECT TOP (10)...
June 21, 2012 at 1:33 am
hi all ,
Regarding above issue I got a answer
declare @var1 varchar(5000)
declare @table table (ColNames varchar(5000))
insert into @table
----here i doesn't want COLUMN45,COLUMN46,COLUMN35(you need to write which columns doesn't want)
select stuff((select...
June 21, 2012 at 1:15 am
Put single quotes (') around your dates
like
USE [RECLACSR-DB]
GO
DECLARE @return_value int
EXEC @return_value = [dbo].[ListeLettreFichier]
@DateDebut = '2012/05/01',
@DateFin = '2012/05/30'
SELECT 'Return Value' = @return_value
May 17, 2012 at 3:20 am
Viewing 10 posts - 1 through 10 (of 10 total)