SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pascal_jimi
Posting Yak Master

Azerbaijan
152 Posts

Posted - 07/22/2013 :  01:06:49  Show Profile  Visit pascal_jimi's Homepage  Reply with Quote
hi
this text get me error

select*from
(select convert(int,col001) as t1,convert(money,Col002)from cdma_e) as bir
full join
(select convert(int,Test ) as t2 ,convert(money,Test1)/100.0
from avans where convert(int,Test)>=4080000 and convert(int,Test)<=4099999) as iki
on bir.t1=iki.t2


---------

Message 8155, Level 16, State 2, Line 1
No column was specified for column 2 of 'bir'.

kmkmmm

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 07/22/2013 :  01:16:32  Show Profile  Reply with Quote
quote:
Originally posted by pascal_jimi

hi
this text get me error

select*from
(select convert(int,col001) as t1,convert(money,Col002) as columname from cdma_e) as bir
full join
(select convert(int,Test ) as t2 ,convert(money,Test1)/100.0
from avans where convert(int,Test)>=4080000 and convert(int,Test)<=4099999) as iki
on bir.t1=iki.t2


---------

Message 8155, Level 16, State 2, Line 1
No column was specified for column 2 of 'bir'.

kmkmmm



------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

pascal_jimi
Posting Yak Master

Azerbaijan
152 Posts

Posted - 07/22/2013 :  01:22:30  Show Profile  Visit pascal_jimi's Homepage  Reply with Quote
thank you very much visakh

you're excellent friend

kmkmmm
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 07/22/2013 :  01:41:11  Show Profile  Reply with Quote
you're we;come as always

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000