Viewing 15 posts - 1 through 15 (of 113 total)
hi,
first can u create one function to use below code.
CREATE FUNCTION SPLIT(@VAL VARCHAR(MAX))
RETURNS @T1 TABLE(COL1 VARCHAR(MAX))
AS
BEGIN
WHILE CHARINDEX(',',@VAL)>0
BEGIN
INSERT INTO @T1 VALUES(SUBSTRING(@VAL,1,(CHARINDEX(',',@VAL))-1))
SET @val=SUBSTRING(@VAL,(CHARINDEX(',',@VAL))+1,LEN(@VAL))...
November 13, 2013 at 5:37 am
whev ever i had run package through command prompt below sitution.
when ever i have created connection in project level
that time package was failed.
when ever i have created connection in package...
August 27, 2013 at 3:30 am
i am saying how i mapped configuration in ssis package.
when ever i had run that package in bids it is excuting suceessfully.
when ever i will run through command prompt that...
August 27, 2013 at 1:25 am
thanks for gave replay.
actualy cube was deployed s1 server.
i have sehedule job s2 server.
in server s2 the sql server agent was working.
August 26, 2013 at 9:07 pm
how i will use environment variable in command prompt..
August 26, 2013 at 9:05 pm
try two plackages run parallel.
because right now u got error was connection related error.whenever totrying connecting multiple connection same database then connection error will come.
Excution1: P1->P2
...
August 25, 2013 at 4:40 am
use below code.
declare @TBLCOLOR TABLE
(ID INT, COLOR VARCHAR(20))
Insert into @TBLCOLOR
SELECT 1,'RED'
UNION ALL
SELECT 2,'BLUE'
UNION ALL
SELECT 3,NULL
UNION ALL
SELECT 4,'GREEN'
UNION ALL
SELECT 5,'BLACK'
UNION ALL
SELECT 6,NULL
DECLARE @COLOR VARCHAR(20)=NULL
SELECT * FROM @TBLCOLOR
--WHERE ISNULL(COLOR,'U') IN(CASE WHEN...
January 30, 2013 at 5:47 am
in Stored procedure also declare @var datetime
---
ssrs
exec S_t @Date
Sql server
Create Proc S_t(@Date datetime)
as
select * from table_name)
where date in(@Date)
end
January 30, 2013 at 5:37 am
check ...
Do you have index on ID column ?
if there is no index on id column then create non cluster index on id column
after that
try below code.
DECLARE @T1...
January 30, 2013 at 4:58 am
Please select parameter type is datetime.
January 30, 2013 at 4:03 am
adv of nolock it is removing dead lock.
for live data nolock option don't use.
if you normailly not live data that time nolock will more useful.
January 24, 2013 at 2:16 am
nolock option it good for reading data.
pls create index on ORDER_DATE,COMMIT_NO column
after that pls excute below code.
select * from
(SELECT *,ORDER_DATE+COMMIT_NO new_id
FROM TABLE A (NOLOCK))k
WHERE new_id
NOT IN
(SELECT...
January 24, 2013 at 2:06 am
pls use below code...
declare @t1 table(fname varchar(50),lname varchar(20))
insert into @t1(fname,lname) values('sql','server')
insert into @t1(fname) values('ravi')
insert into @t1(lname) values('kumar')
select *,case when (fname is not null) and (lname is not null) then fname+'.'+lname
...
January 23, 2013 at 3:16 am
create linked server try to use that linked server..
December 4, 2012 at 9:16 pm
In that report take one more table item After you will do grouping on product next comun use count funcation............
December 4, 2012 at 9:09 pm
Viewing 15 posts - 1 through 15 (of 113 total)