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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 operator overriding
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dehseth
Starting Member

Turkey
18 Posts

Posted - 12/29/2006 :  07:10:28  Show Profile  Reply with Quote
is there any way to override + operator for int type?

harsh_athalye
Flowing Fount of Yak Knowledge

India
5509 Posts

Posted - 12/29/2006 :  07:34:38  Show Profile  Visit harsh_athalye's Homepage  Click to see harsh_athalye's MSN Messenger address  Send harsh_athalye a Yahoo! Message  Reply with Quote
This is SQL Server forum. Please post only relevant questions here.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

dehseth
Starting Member

Turkey
18 Posts

Posted - 12/29/2006 :  08:55:56  Show Profile  Reply with Quote
quote:
Originally posted by harsh_athalye

This is SQL Server forum. Please post only relevant questions here.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"



i am asking for sql server yukon. there are operators in server and i wanna override one of it..
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30114 Posts

Posted - 12/29/2006 :  19:53:37  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Why?
What have you tried this far?
Have you tried paranthesis?
Are you trying to concatenate a string that includes a INT column? If so, CAST column to varchar first.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

eyechart
Flowing Fount of Yak Knowledge

USA
3575 Posts

Posted - 12/30/2006 :  02:48:59  Show Profile  Reply with Quote
you cannot override an operator. What are you really trying to do? maybe we can help you with an alternate method that accomplishes your goal.



-ec
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22744 Posts

Posted - 01/01/2007 :  02:50:34  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
Simply, post some sample data and the result you want

Madhivanan

Failing to plan is Planning to fail
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.08 seconds. Powered By: Snitz Forums 2000