If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > String Manipulation - Help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-26-03, 00:32
nivaskhan nivaskhan is offline
Registered User
 
Join Date: Jan 2002
Posts: 12
Red face String Manipulation - Help

Hi,

I am a newbie to informix.I need to migrate some informix procedures to SQL server.As i am new to this,I cant figure out what does the following statement do..is it some kind of string manipulation...

define sp_man_type char(1) ;
define sp_in_man_id char(8);
let sp_man_type = sp_in_man_id [ 1 , 1 ] ;

if someone could explain it ,that would be of great help.

Thanks in advance
__________________
NivasKhan
Reply With Quote
  #2 (permalink)  
Old 02-26-03, 07:37
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
let is used when you are going to calculate something.

ex: let a = b+ c
in this case a gets the sum of b and c...

in your case, the first parameter gets the first character of the second parameter.
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 02-26-03, 07:38
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Oh my God!!!

You are migrating to SQL server and I am helping you????
__________________
rws
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On