Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 General Discussion
»
Why it is returning *
Why it is returning *
Rate Topic
Display Mode
Topic Options
Author
Message
SqlSpider...
SqlSpider...
Posted Thursday, September 20, 2012 1:06 AM
SSC Journeyman
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 1:41 AM
Points: 84,
Visits: 271
hi All,
when i am executing the below query it is returning * instead of showing error.
select cast(123 as varchar(2))
means the length of the integer value is greater than the converting value that time it is showing the result.
thanks,
Post #1361763
BrainDonor
BrainDonor
Posted Thursday, September 20, 2012 1:41 AM
Ten Centuries
Group: General Forum Members
Last Login: Friday, June 14, 2013 8:33 AM
Points: 1,402,
Visits: 6,950
Documented behaviour -
http://msdn.microsoft.com/en-us/library/aa226054(v=sql.80).aspx#feedback
, half-way down the article.
BrainDonor
Linkedin
Post #1361772
SqlSpider...
SqlSpider...
Posted Thursday, September 20, 2012 3:59 AM
SSC Journeyman
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 1:41 AM
Points: 84,
Visits: 271
Thank you very much
Post #1361832
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.