Viewing 15 posts - 16 through 30 (of 60 total)
Insert Into MyTable
SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=C:\BlankDB.xls', Sheet1$)
November 10, 2008 at 4:41 am
GilaMonster (11/8/2008)
rosh (11/6/2008)
Would null values cause this.See if ISNULL helps.
Null won't cause a divide by zero. Anything divided by null (or added to null or multiplied by null, ...) is...
November 9, 2008 at 10:46 pm
Would null values cause this.
See if ISNULL helps.
November 6, 2008 at 9:59 pm
have u tried the len function...
as in len(ltrim(rtrim(strVar))) .
November 5, 2008 at 9:55 pm
Karthik, so are you gonna say that your head is a limitation...:)
October 16, 2008 at 7:38 am
looks like you have decided that it is a limitation...
so be it...
October 16, 2008 at 7:36 am
my reply has come a little late now... so I might seem out of context now.
Karthik, my only argument was there is no problem with local variables and IN clause...
October 16, 2008 at 7:28 am
u can.....
drop table #tmp
go
Create table #tmp
(
eno varchar(1),
ename varchar(25)
)
go
insert into #tmp
select '1','Karthik'
union
select '2','Keyan'
union
select '3','Mani'
Declare @eno varchar(10)
declare @STR varchar(100)
set @eno = '1'
select * from #tmp where eno in...
October 16, 2008 at 7:23 am
and what is the problem with local variable and IN Clause?
October 16, 2008 at 6:24 am
I didnt get the local variable not working with IN clause....
October 16, 2008 at 6:12 am
Do you mean you want to do a ALTER TABLE ALTER COLUMN.....
October 16, 2008 at 5:56 am
Use isnull(col3,'') instead of a just col3.
October 14, 2008 at 4:27 am
I think u will have to explain a little more with some code...
October 14, 2008 at 3:03 am
Is there any reason for storing data in this manner in the table?
September 1, 2008 at 6:27 am
Viewing 15 posts - 16 through 30 (of 60 total)