Re: MYSQL FUNCTIONS

2008-03-10 Thread Tim McDaniel
On Mon, 10 Mar 2008, Krishna Chandra Prajapati <[EMAIL PROTECTED]> wrote: While i was going through mysql reference manual. I saw that "A query cannot be cached if it contains any of the functions shown below" ... NOW() On my production server, the following query is being used. select * f

Re: MYSQL FUNCTIONS

2008-03-10 Thread Sebastian Mendel
Krishna Chandra Prajapati schrieb: Hi All, While i was going through mysql reference manual. I saw that "A query cannot be cached if it contains any of the functions shown below" BENCHMARK() CONNECTION_ID() CONVERT_TZ() CURDATE() CURRENT_DATE()

MYSQL FUNCTIONS

2008-03-10 Thread Krishna Chandra Prajapati
Hi All, While i was going through mysql reference manual. I saw that "A query cannot be cached if it contains any of the functions shown below" BENCHMARK() CONNECTION_ID() CONVERT_TZ() CURDATE() CURRENT_DATE() CURRENT_TIME() CURRENT_TIMES

declaration of constants in MySQL functions

2007-09-18 Thread spikerlion
Hello, is there a possibility to declare constants in MySQL functions? declare test_name varchar(50) DEFAULT 'test'; The variable test_name here ist changeable but it should not be. Oracle syntax: test_name CONSTANT VARCHAR2(50) := 'test'; Regards, Spiker -- Pt!

Re: MySQL Functions

2005-05-03 Thread Gleb Paharenko
> Is there an equivelant function in perl for converting IP's, the same as > MySQL > functions: INET_ATON('IP_ADDRESS_STR') and INET_NTOA('STR') > > TIA, -- For technical support contracts, goto https://order.mysql.com/?ref=en

MySQL Functions

2005-05-02 Thread Mike Blezien
Hello, Sorry for the slightly OT question :) Hoping we have some expert MySQL Function to perl function people on the list. Is there an equivelant function in perl for converting IP's, the same as MySQL functions: INET_ATON('IP_ADDRESS_STR') and INET_NTOA('STR') TIA

Re: Obtaining a List of Available MySQL Functions

2005-03-13 Thread Dan Nelson
In the last episode (Mar 13), James Kiser said: > Does anyone know an easy way to get a list of all MySQL Functions that > can be used within queries? > > I've looked at the docs and tried all the obvious stuff (show func...etc). ? The documentation has a whole cha

Obtaining a List of Available MySQL Functions

2005-03-13 Thread James Kiser
Does anyone know an easy way to get a list of all MySQL Functions that can be used within queries? I've looked at the docs and tried all the obvious stuff (show func...etc). Thanks, James -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Re: MySQL functions

2004-11-01 Thread Jon Stephens
/Adding_procedures.html > Date: Sat, 30 Oct 2004 23:13:42 +0200 > To: <[EMAIL PROTECTED]> > From: "Ferhat BINGOL" <[EMAIL PROTECTED]> > Subject: MySQL functions > Message-ID: <[EMAIL PROTECTED]> > > Hi, > > How do I add a new function to MySQL

MySQL functions

2004-10-30 Thread Ferhat BINGOL
Hi, How do I add a new function to MySQL SQL statement list. What I mean is AVG(), MIN() or MAX() is a ready function isnt it? Is there a way to add new functions without compiling all server? Regards... -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscr

[MYSQL]{FUNCTIONS]

2004-07-27 Thread Peter Bruggink
Hi, I have designed a application (written in visual basic) to visualize projects in a treeview and to attach all kinds of information to those treenodes (for example hours used, budget avail, pictures of manufactoring parts/ bought-out parts etc). After using microsoft access for a short time,

Re: Using Mysql functions in INSERTS and UPDATES in replication setup

2003-11-27 Thread Victoria Reznichenko
"Arnoud Witt (Marktplaats)" <[EMAIL PROTECTED]> wrote: > We are using Mysql with one master and several slaves. > > In some INSERT and UPDATE queries we use Mysql functions like CURDATE() = > and > RAND() . > > The problem that now occurs is that if a slave

Using Mysql functions in INSERTS and UPDATES in replication setup

2003-11-27 Thread Arnoud Witt \(Marktplaats\)
We are using Mysql with one master and several slaves. In some INSERT and UPDATE queries we use Mysql functions like CURDATE() and RAND() . The problem that now occurs is that if a slave is reading the queries from the binary log, the resulting data is different from that on the master, because

vb.net & aggregate MySQL functions

2002-10-02 Thread charlie
I'm having problems with vb.net and MySQL, only on reading records returned with requests for functions, i.e., such as the following SELECT max(field1) AS MaxValue FROM Table1 or SELECT concat( field1, ' ', field2) as FullName FROM Table1 The queries work fine when executed directly from

Mysql Functions

2002-02-28 Thread Amit Dilip Lonkar
Hi Can anyone tell me how to call Mysql UDF functions from Java?? Thanks Amit - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request

Re: can i use mysql functions to sort an alpha-numeric description alphabetically?

2002-02-23 Thread DL Neil
Nicole, RTFM: 6.3 Functions for Use in SELECT and WHERE Clauses in particular the String Functions If the first space (in every row) can be taken as the 'marker' of what to remove (including the space itself), then take a look at the following: SELECT catval, RIGHT( strcatdescr, POSITION( '

Re: can i use mysql functions to sort an alpha-numeric description alphabetically?

2002-02-23 Thread Nicole Lallande
Sorry Dan, I had actually replied to Steve who had asked the same question but I forgot to reply to the list with this: here is the query: select catval,catdescr from embiteccat where catzid=$zid and catlid=$lid and catunder=$cat order by catdescr; Here is a some data: 36,1,1,,0,0,2

Re: can i use mysql functions to sort an alpha-numeric description alphabetically?

2002-02-23 Thread DL Neil
Hi Nicole, Perhaps it's me, but I'm having trouble following you - as I did with the question I've just finished responding to... > I have looked at the online documentation and the mysql books that I > have but can find no answer. I have a field that looks like this: > > (8+2) Landscape I tak

can i use mysql functions to sort an alpha-numeric description alphabetically?

2002-02-23 Thread Nicole Lallande
Hi, I have looked at the online documentation and the mysql books that I have but can find no answer. I have a field that looks like this: (8+2) Landscape I want to sort on the alphabetic characters. My mysql query does an order by this field and that returns a numeric order (which for me i

Re: ANSI SQL or MySQL Functions?

2001-05-10 Thread Paul DuBois
At 9:08 AM -0700 5/10/01, Chris Nichols wrote: >Can anyone help point me to a good resource for finding out if particular >functions supported by MySQL are ANSI SQL standard functions or if they >are MySQL specific? I'm particularly wondering about: > >concat() >if() >length() http://www.mysql.

ANSI SQL or MySQL Functions?

2001-05-10 Thread Chris Nichols
Can anyone help point me to a good resource for finding out if particular functions supported by MySQL are ANSI SQL standard functions or if they are MySQL specific? I'm particularly wondering about: concat() if() length() Thanks, -Chris --- [EMAIL PROTECTED]