Hi All
I would be thankful to you all if you will guide me the steps to call a stored proc. from unix shell script. that stored proc. could be parameterised or parameterless developed in SQL.
Any info. in this topic would help me.....
Thanks in advance.... (1 Reply)
HI,
I'm trying to get this right, please can you help. In my unix korn shell script, I call an oracle stored proc within a package and I specify 3 parameters, 2 of which are IN OUT parameters (i.e. I expect the stored proc to change them and return them back to me).
Does the unix code... (7 Replies)
Hi,
I need to make SQL Server procedure call (exec <proc name>)from unix shell script. First of all I would like to know if it is possible. I know we can do it from Oracle but not sure about SQL Server.
Version:
SunOS 5.8
SQL 8.0
I have made the below entry in the interface file.
NSXNA267
... (0 Replies)
hi,
I want to know how to call a pl sql function testfunction(param1,..) that returns a value and grab that value in a shell variable.
Thnx in advance
---------- Post updated 03-30-10 at 11:58 AM ---------- Previous update was 03-29-10 at 03:49 PM ----------
thnx a lot jim (0 Replies)
I am running the xampp on WINDOWS, and my php script is connecting to a unix script on a different server (ssh2_connect("11.31.138.56", 22). I am running the unix script and inside this script I am calling the .sql file . The SQL is connecting to oracle db on the unix server.
But the sqlplus... (2 Replies)
I know this question is out there in many forums, but I tried all the combinations in vain.
I'm basically trying to call a sql script from a shell script.
Below is my sql script (plsql.sql)
DELCARE
v_empno NUMBER := '&empno';
BEGIN
select ename,sal from emp where empno = v_empno;... (3 Replies)
HI Experts,
I am pretty new to scripting and i need to create a perl or shell script which should fetch a file from local directory and insert the data into a table using sql loader. This will be later added to chron job to run daily and fetch all files and load them into
the table.
Also i... (1 Reply)
HI Experts,
I am pretty new to scripting and i need to create a perl or shell script which should fetch a file from local directory and insert the data into a table using sql loader. This will be later added to chron job to run daily and fetch all files and load them into
the table.
Also i... (1 Reply)
Discussion started by: sam1234
1 Replies
LEARN ABOUT PHP
mb_convert_case
MB_CONVERT_CASE(3) 1 MB_CONVERT_CASE(3)mb_convert_case - Perform case folding on a stringSYNOPSIS
string mb_convert_case (string $str, int $mode, [string $encoding = mb_internal_encoding()])
DESCRIPTION
Performs case folding on a string, converted in the way specified by $mode.
PARAMETERS
o $str
- The string being converted.
o $mode
- The mode of the conversion. It can be one of MB_CASE_UPPER, MB_CASE_LOWER, or MB_CASE_TITLE.
o $encoding
-The $encoding parameter is the character encoding. If it is omitted, the internal character encoding value will be used.
RETURN VALUES
A case folded version of $string converted in the way specified by $mode.
UNICODE
By contrast to the standard case folding functions such as strtolower(3) and strtoupper(3), case folding is performed on the basis of the
Unicode character properties. Thus the behaviour of this function is not affected by locale settings and it can convert any characters that
have 'alphabetic' property, such as A-umlaut (A).
For more information about the Unicode properties, please see http://www.unicode.org/unicode/reports/tr21/.
EXAMPLES
Example #1
mb_convert_case(3) example
<?php
$str = "mary had a Little lamb and she loved it so";
$str = mb_convert_case($str, MB_CASE_UPPER, "UTF-8");
echo $str; // Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
$str = mb_convert_case($str, MB_CASE_TITLE, "UTF-8");
echo $str; // Prints Mary Had A Little Lamb And She Loved It So
?>
Example #2
mb_convert_case(3) example with non-Latin UTF-8 text
<?php
$str = "Txiotn a
nE Baos unuvn yn, dpaokeCei unp vw0po kuvs";
$str = mb_convert_case($_tr, MB_CASE_UP_ER, "UTF_8"); _ _
echo $str; // Prints TXI>TH A/TTHH BAO> YHMNH | H, /PA>KE/EI YTTP NOOPO KYN>
$str = mb_convert_case($str, MB_CASE_TITLE, "U_F-8");
echo $str; // Prints Txiotn A
nE Baoo Ynuvn | n, /paokeCei Ynp Nw0po Kuvo
?>
SEE ALSO mb_strtolower(3), mb_strtoupper(3), strtolower(3), strtoupper(3), ucfirst(3), ucwords(3).
PHP Documentation Group MB_CONVERT_CASE(3)