Viewing 15 posts - 46 through 60 (of 104 total)
if you dnt mind would please explain the "sp_executesql" what is the use??
and what should be do there??
October 10, 2012 at 10:48 pm
while executing dis query error occured on output:
exec
October 10, 2012 at 5:46 am
hey friend
i am executing dis qury on sql server 2000 only...its not server 2008
September 11, 2012 at 7:07 am
while em using str in my query its showing error, like
select slno,entrydate,goals,kpi,weightage,goals_review_date,reviewcomments,reviewedby,reviewdate
from GOALSDTL
union
select str((slno,entrydate,goals,kpi,weightage,goals_review_date,reviewcomments,reviewedby,reviewdate),5,2)
from GOALSDTL_History
error:
doest convert date into int
September 10, 2012 at 10:41 pm
create table tab1(name varchar,class int(22),noofsubject numeric(12),rank int(10),test varchar(22),stuid int(11),accodomicyear nvarchar(22))
create table tab2(name varchar,class int(22),noofsubject numeric(12),rank int(10),test varchar(22)),stuid int(11),accodomicyear nvarchar(22))
insert into tab1 values(' ravi',2 ,5 ,' ' ,'revision-II',002244,2011)
insert into...
August 28, 2012 at 1:25 am
friends year is'2011-2012' data type is"nvarchar"
while i am paasing inputs on procedure its shows error of
"error converting datetime from character string."
please give me any suggestion???
August 27, 2012 at 4:23 am
In that same query i have histroy_date is there , i want to display the data if date contains null and not null....... how to pass the condition on procedure
August 24, 2012 at 4:22 am
hi friends,
I am getting the expect output, making the modification on accyear......
alter procedure fst_der
(
@eid varchar(70),
@b-2 datetime,
@C datetime,
--@hist datetime)
as
begin
select slno,goals_type,entrydate,
goals,date_of_commitment,kpi,
weightage,goals_review_date from LIMS..GOALSDTL_Audit
where...
August 24, 2012 at 12:32 am
while i am giving the input of empcode and accyear wanna show entire details.....
/* EXEC data_ddl '001244','2011-2012'
expecting output:
slno goals ...
August 23, 2012 at 10:00 pm
create table data_dd(slno numeric(22),goals varchar(22),kpi varchar(22),weightage numeric(22),record_status char(8),empcode varchar(12),accyear date)
insert into(1,'webdevelopment',2451,40,u,002244,'2011-2012')
insert into(6,'webdevelopment',2451,46,u,002244,'2011-2012')
insert into(8,'webdevelopment',2451,46,u,001244,'2011-2012')
insert into(9,'webdevelopment',2451,46,u,001244,'2011-2012')
while i am giving empcode and accyear as input in procedure has shown the entire data in...
August 23, 2012 at 8:06 am
while em exectue the procedure
exec data_dd '002244','2011-2012'
showing null .... not given expected output
August 23, 2012 at 7:48 am
Viewing 15 posts - 46 through 60 (of 104 total)