Sponsored Content
Top Forums Programming Help in Database Procedure returns value Post 302703245 by DGPickett on Wednesday 19th of September 2012 01:51:37 PM
Old 09-19-2012
You need to modify the passed value? What is the type? Pass by reference is a means to one or more ends: modification by the callee and avoiding copy overhead, at the cost of additional reference variables and loading and dereferencing reference values. If cost and modification are not concerns, pass by whatever works with the least source code.

http://www.google.com/search?q=php+t...x=&startPage=1
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Starting a script from a Database procedure

Hey guys, I have this problem : I can run on an sqlprompt !ftp_file2.ksh test.xml 172.16.204.81 Anonymous Anonymous which will ftp the file from Unix to an NT machine, but if I do exec shell('sh ftp_file2.ksh test.xml 172.16.204.81 Anonymous Anonymous') it does NOTHING. I have no... (4 Replies)
Discussion started by: vidireporting
4 Replies

2. Shell Programming and Scripting

Shell Linux to connect to a database and execute store procedure

HI, i want to write a script (Linux) that: 1) connect to a database oracle 2) execute some store procedure. Can anybody help me, please? Thanks a lot Andrew (3 Replies)
Discussion started by: manichino74
3 Replies

3. Shell Programming and Scripting

Execute stored procedure through script in sybase database and store the output in a .csv file

Hi, I have a sybase stored procedure which takes two input parameters (start_date and end_date) and when it get executed, it gives few records as an output. I want to write a unix script (ksh) which login to the sybase database, then execute this stored procedure (takes the input parameter as... (8 Replies)
Discussion started by: amit.mathur08
8 Replies

4. Solaris

redirect solaris database from linux database..

hi.. i have a need .. my php runs on my linux redhat box with mysql.. i want my php code to refer another mysql database which is in solaris 10 x86... can u tell me the procedure .. how it can be done through php .. sorry am new to php... is it possible to redirect from linux mysql to... (7 Replies)
Discussion started by: senkerth
7 Replies

5. Solaris

Can't create database after Oracle Database installation

I installed Oracle 10 software on Solaris 11 Express, everything was fine execpt I can't create database using dbca.rsp file. I populated file with following options. OPERATION_TYPE = "createDatabase" GDBNAME = "solaris_user.domain.com" SID = "solaris_user" TEMPLATENAME = "General... (0 Replies)
Discussion started by: solaris_user
0 Replies

6. Solaris

Checking RAID health, metastat returns "no database"

Hello, I am supposed to check the RAID health of a system but when I type metastat it says "there are no existing databases" Does this mean that there is no RAID configured at all? Is there any other utility I should try? I know the system has two disks. Tanks! (8 Replies)
Discussion started by: cevspencer
8 Replies

7. Shell Programming and Scripting

CRON Job to copy database and replace existing database

I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies

8. UNIX for Dummies Questions & Answers

Help with Functions and Value returns

mon_yy=${1} date_found=`find_end_day $mon_yy` export_dealer_changes ${date_found} Hello I am trying to pull a formatted date back from the function find_end_day and pass it into the function export_dealer_changes. When I try the above the variable date_found is empty. I have tried various... (3 Replies)
Discussion started by: treemyf
3 Replies

9. Shell Programming and Scripting

Help in function returns value

Hi, I need to return a value from the function. the value will be the output from cat command which uses random fucntion. #!/bin/ksh hello() { var1=$(`cat /dev/urandom| tr -dc 'a-zA-Z0-9-!%&()*+,-/:;<=>?_'|fold -w 10 | head -n 1`) echo "value is" var1 return var1 } hello var=$?... (2 Replies)
Discussion started by: Nandy
2 Replies
WWW::SearchResult(3pm)					User Contributed Perl Documentation				    WWW::SearchResult(3pm)

NAME
WWW::SearchResult - class for results returned from WWW::Search SYNOPSIS
require WWW::Search; require WWW::SearchResult; $search = new WWW::Search; $search->native_query(WWW::Search::escape_query($query)); # Get first result: $result = $search->next_result(); DESCRIPTION
A framework for returning the results of "WWW::Search". SEE ALSO
WWW::Search REQUIRED RESULTS
The particular fields returned in a result are backend- (search engine-) dependent. However, all search engines are required to return a url and title. (This list may grow in the future.) METHODS AND FUNCTIONS
new To create a new WWW::SearchResult, call $result = new WWW::SearchResult(); url Returns the primary URL. Note that there may be a list of urls, see also methods "urls" and "add_url". Nothing special is guaranteed about the primary URL other than that it is the first one returned by the back end. Every result is required to have at least one URL. add_url Add a URL to the list. urls Return a reference to the list of urls. There is also a primary URL ("url"). add_related_url Add a URL to the related_url list. related_urls Return a reference to the list of related urls. add_related_title Add a title to the list or related titles. related_titles Return a reference to the list of related titles. title, description, score, change_date, index_date, size, raw Set or get attributes of the result. None of these attributes is guaranteed to be provided by a given backend. If an attribute is not provided its method will return "undef". Typical contents of these attributes: title The title of the hit result (typically that provided by the 'TITLE' HTML tag). description A brief description of the result, as provided (or not) by the search engine. Often the first few sentences of the document. source Source is either the base url for this result (as listed on the search engine's results page) or another copy of the full url path of the result. It might also indicate the source site name or address whence the result came, for example, 'CNN' or 'http://www.cnn.com' if the search result page said "found at CNN.com". This value is backend-specific; in fact very few backends set this value. add_sources Same meaning as source above, for adding sources in case there are potentially multiple sources. sources Returns a reference to the list of sources. score A backend specific, numeric score of the search result. The exact range of scores is search-engine specific. Usually larger scores are better, but this is no longer required. See normalized_score for a backend independent score. normalized_score This is intended to be a backend-independent score of the search result. The range of this score is between 0 and 1000. Higher values indicate better quality results. This is not really implemented since no one has created an backend-independent ranking algorithm. change_date When the result was last changed. Typically this is the modification time of the destination web page. index_date When the search engine indexed the result. size The approximate size of the result, in bytes. This is only an approximation because search backends often report the size as "18.4K"; the best we can do with that number is return it as the value of 18.4 * 1024. raw The raw HTML for the entire result. Raw should be exactly the raw HTML for one entry. It should not include list or table setup commands (like ul or table tags), but it may include list item or table data commands (like li, tr, or td). Whether raw contains a list entry, table row, br-separated lines, or plain text is search-engine dependent. In fact, many backends do not even return it at all. as_HTML Convert the search result to a human-readable form, decorated with HTML for pretty-printing. Others More attributes of the result. Backend-specific. Refer to the documentation of each backend for details. bid_amount bid_count bidder category company end_date image_url item_number location question_count seller shipping sold start_date thumb_url watcher_count AUTHOR
WWW::SearchResult was written by John Heidemann. WWW::SearchResult is maintained by Martin Thurn. perl v5.12.4 2011-10-25 WWW::SearchResult(3pm)
All times are GMT -4. The time now is 03:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy