Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Datatypes. A Perl T-SQL comparison

by thor (Priest)
on Nov 16, 2005 at 14:24 UTC ( [id://509047]=note: print w/replies, xml ) Need Help??


in reply to Datatypes. A Perl T-SQL comparison

Not that this is a perl question, but if your string contains only numbers, you should be able to do an implicit conversion. Observe:
declare @var nvarchar(3) set @var='123' select @var-10

thor

Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://509047]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-26 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found