Syntax error

2007-01-08 Thread Mungbeans
= p.productid AND o.status = 'new' ORDER BY o.date DESC , o.status, u.username GROUP BY o.orderid LIMIT 0 , 30 MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY o.orderid

Re: SQL syntax

2006-12-31 Thread Rhino
- Original Message - From: "Scott Yamahata" <[EMAIL PROTECTED]> To: Sent: Friday, December 29, 2006 1:29 AM Subject: SQL syntax Hi, I'm getting the following error message: You have an error in your SQL syntax; check the manual that corresponds to your MyS

Re: SQL syntax

2006-12-29 Thread Joerg Bruehe
Hi Scott, all, Scott Yamahata wrote: Hi, I'm getting the following error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' enabled = '1'' at line 3INSERT INTO clf_cit

Re: SQL syntax

2006-12-28 Thread ViSolve DB Team
n use the following query.. do not leave the value of column blank. INSERT INTO clf_cities SET cityname = 'Santa Barbara', countryid =NULL , enabled = '1' Thanks, ViSolve DB Team - Original Message - From: "Scott Yamahata" <[EMAIL PROTECTED]>

Re: SQL syntax

2006-12-28 Thread ViSolve DB Team
Hi, have you checked the 'enabled' field datatype or can you give the query. Thanks ViSolve DB Team. - Original Message - From: "Scott Yamahata" <[EMAIL PROTECTED]> To: Sent: Friday, December 29, 2006 11:59 AM Subject: SQL syntax Hi, I'm getting th

SQL syntax

2006-12-28 Thread Scott Yamahata
Hi, I'm getting the following error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' enabled = '1'' at line 3INSERT INTO clf_cities SET cityname = 'Santa Barbara',

Re: Syntax Problem

2006-12-08 Thread JugLugs
Field was wrongly named - Cheers! -- View this message in context: http://www.nabble.com/Syntax-Problem-tf2779708.html#a7756233 Sent from the MySQL - General mailing list archive at Nabble.com. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Re: Syntax Problem

2006-12-08 Thread Martijn Tonies
> I have a query running within a project from a Windows machine retrieving > data from a Linux Source the query works perfectly. If i upload the exact > same project to the Linux machine and run it the query doesnt work ??!!?? > > the query string is ... > > SELECT DISTINCT ID, BatchID FROM Conta

Syntax Problem

2006-12-08 Thread JugLugs
am i going mad ? Cheers JugLugs -- View this message in context: http://www.nabble.com/Syntax-Problem-tf2779708.html#a7755229 Sent from the MySQL - General mailing list archive at Nabble.com. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: before update trigger syntax

2006-11-29 Thread ViSolve DB Team
- From: "Ted Yu" <[EMAIL PROTECTED]> To: Sent: Thursday, November 30, 2006 9:13 AM Subject: before update trigger syntax Can someone tell me what's wrong with my before update trigger syntax ? Thanks Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQ

before update trigger syntax

2006-11-29 Thread Ted Yu
Can someone tell me what's wrong with my before update trigger syntax ? Thanks Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 19 to server version: 5.0.18-log mysql> use eventtracker; Reading table information for completion of table and column n

RE: Invalid syntax with STD() function when more than one field is used in select query

2006-07-21 Thread William Bronsema
006 10:18 AM > To: mysql@lists.mysql.com > Subject: Invalid syntax with STD() function when more than one field is > used in select query > > Hello, > > I am encountering a strange issue when using the STD function. On my > local development machine (MYSQL version 4.18-nt

Invalid syntax with STD() function when more than one field is used in select query

2006-07-20 Thread William Bronsema
my hosted production machine (MYSQL version 4.19-standard) that query results in an invalid syntax error: "#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( `LAPSETIME` ) ,

Re: Problem With Join Syntax

2006-06-14 Thread Albert Padley
.mysql.com From: Chris White <[EMAIL PROTECTED]> Subject: Re: Problem With Join Syntax On Wednesday 14 June 2006 10:55 am, Albert Padley wrote: A typical set of data looks like this: id | inputfieldid | userid | value 1 1 2 John 2 2 2 Sm

Re: Problem With Join Syntax

2006-06-14 Thread Keith Roberts
2006, Chris White wrote: > To: mysql@lists.mysql.com > From: Chris White <[EMAIL PROTECTED]> > Subject: Re: Problem With Join Syntax > > On Wednesday 14 June 2006 10:55 am, Albert Padley wrote: > > A typical set of data looks like this: > > > > id | inputfi

Re: Problem With Join Syntax

2006-06-14 Thread Albert Padley
Dan, Thanks. I'll take a further look at GROUP_CONCAT. Albert On Jun 14, 2006, at 1:16 PM, Dan Buettner wrote: Albert, MySQL's GROUP_CONCAT function might work for you: http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html In your case something like this: SELECT userid, GROUP_CON

Re: Problem With Join Syntax

2006-06-14 Thread Dan Buettner
Albert, MySQL's GROUP_CONCAT function might work for you: http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html In your case something like this: SELECT userid, GROUP_CONCAT(value) GROUP BY userid HTH, Dan Albert Padley wrote: I have the following table schema in MySQL 4.1.18 which I

Re: Problem With Join Syntax

2006-06-14 Thread Chris White
On Wednesday 14 June 2006 10:55 am, Albert Padley wrote: > A typical set of data looks like this: > > id | inputfieldid | userid | value > 1 1 2 John > 2 2 2 Smith > 3 3 2 [EMAIL PROTECTED] > > I am trying to come up with a query

Problem With Join Syntax

2006-06-14 Thread Albert Padley
I have the following table schema in MySQL 4.1.18 which I didn't create, but have to work with. CREATE TABLE `phplog_userinput` ( `id` int(11) NOT NULL auto_increment, `inputfieldid` int(11) NOT NULL default '0', `userid` int(11) NOT NULL default '0', `value` varchar(150) NOT NULL defau

Re: correct syntax

2006-06-08 Thread Mike Blezien
Gerald, - Original Message - From: "Gerald L. Clark" <[EMAIL PROTECTED]> To: "Mike Blezien" <[EMAIL PROTECTED]> Cc: "MySQL List" Sent: Thursday, June 08, 2006 8:40 AM Subject: Re: correct syntax Mike Blezien wrote: Hello, we need to query

Re: correct syntax

2006-06-08 Thread Gerald L. Clark
Mike Blezien wrote: Hello, we need to query one of database tables that sore usernames, and many of them have spaces in them that need to be removed. what would be the correct function to identify each username column value that has a space(s) in them? TIA, Mike(mickalo)Blezien How abou

correct syntax

2006-06-08 Thread Mike Blezien
Hello, we need to query one of database tables that sore usernames, and many of them have spaces in them that need to be removed. what would be the correct function to identify each username column value that has a space(s) in them? TIA, Mike(mickalo)Blezien -- MySQL General Mailing List F

re: ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread Chris Sansom
At 15:19 +0100 7/6/06, Rob Desbois wrote: With the CHANGE clause of ALTER TABLE statement, you must provide the column definition, so something like this is what you need: ALTER TABLE actors CHANGE director_id actor_id MEDIUMINT UNSIGNED NOT NULL; or whatever your original definition is. Wo

RE: ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread J.R. Bullington
bject: ERROR 1064 (42000): You have an error in your SQL syntax; Hi All, gee I really hate bugging you all for this. I looked at this page, http://dev.mysql.com/doc/refman/5.0/en/alter-table.html which has this, To change column |a| from |INTEGER| to |TINYINT NOT NULL| (leaving the name the

re: ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread Rob Desbois
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Sorry, little confused right about now, eh. Cheers. Mark Sargent. -- MySQL General Mailing List For list archives: h

Re: ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread Chris Sansom
At 0:09 +1000 8/6/06, Mark Sargent wrote: ALTER TABLE t2 MODIFY a TINYINT NOT NULL, CHANGE b c CHAR(20); for changing the name of a column, right? So, why doesn't the below work? mysql> ALTER TABLE actors CHANGE director_id actor_id; I'm no great expert myself, but off the top of my head, may

ERROR 1064 (42000): You have an error in your SQL syntax;

2006-06-07 Thread Mark Sargent
your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Sorry, little confused right about now, eh. Cheers. Mark Sargent. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To un

Re: Baffled by query error syntax

2006-05-18 Thread Michael Stassen
sheeri kritzer wrote: MySQL usually gives a syntax error *where* the error happens. In this case, it would indicate a problem with "SEC_TO_TIME(" but there shouldn't be a problem, both according to the manual AND according to my example. The parser reads the query left-to-r

Re: Baffled by query error syntax

2006-05-18 Thread Michael Stassen
.1/en/date-and-time-type-overview.html this is the way to SUM the total time, which keeps producing a syntax error and figure out why MySQL version 4.1.12 --- SELECT c.account_id,a.name,a.company, S

Re: Baffled by query error syntax

2006-05-17 Thread Mike Blezien
Hi Sheeri, Is your 'u.modified' column a TIME datatype '00:00:00' Mike - Original Message - From: "sheeri kritzer" <[EMAIL PROTECTED]> To: "Mike Blezien" <[EMAIL PROTECTED]> Cc: "MySQL List" Sent: Wednesday, May 17, 2006

Re: Baffled by query error syntax

2006-05-17 Thread sheeri kritzer
.uid where u.modified >= DATE_SUB(NOW(),INTERVAL 14 DAY) and country="au" group by u.uid having mins >= '2' order by mins; Similar joins, similar where clause, etc and yet I got an answer (almost 700 rows, took 2 seconds) while you got a syntax error. select @@version;

Baffled by query error syntax

2006-05-17 Thread Mike Blezien
-time-type-overview.html this is the way to SUM the total time, which keeps producing a syntax error and figure out why MySQL version 4.1.12 --- SELECT c.account_id,a.name,a.company, SEC_TO_TIME(SUM(T

Re: Outfile syntax and out of memory

2006-05-08 Thread Jeremy Cole
Hi Johan, I need to extract some data to a textfile from a big database. If I try to do like this: mysql < queryfile.sql > outfile.txt "outfile.txt" it looks something like: "OrderID", "Quant", "OrdrDate", "code1", "code2"... 10021, 12, 20060412, 23, 95... 10022, 5, 20060412, , 75... But, I

Re: Outfile syntax and out of memory

2006-05-08 Thread Johan Lundqvist
Hi, Where should I increase max_allowed packet?? I get a error from Windows (yes, I know... it's running on a M$-os, not my bad - not my desicion). The results is about 2 - 10 Gb of data. Regards, /Johan Dilipkumar wrote: Hi, Increase max_allowed packet to 1.5 gb and then try to import you

Re: Outfile syntax and out of memory

2006-05-08 Thread Johan Lundqvist
ist [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 10:16 AM To: mysql@lists.mysql.com Subject: Outfile syntax and out of memory Hi, I need to extract some data to a textfile from a big database. If I try to do like this: mysql < queryfile.sql > outfile.txt "outfile.txt" it

RE: Outfile syntax and out of memory

2006-05-08 Thread George Law
al Message- From: Johan Lundqvist [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 10:16 AM To: mysql@lists.mysql.com Subject: Outfile syntax and out of memory Hi, I need to extract some data to a textfile from a big database. If I try to do like this: mysql < queryfile.sql

Re: Outfile syntax and out of memory

2006-05-08 Thread Dilipkumar
Hi, Increase max_allowed packet to 1.5 gb and then try to import your data . eg ; In mysql prompt run the file as *use database \. /tmp/filename.txt * Johan Lundqvist wrote: Hi, I need to extract some data to a textfile from a big database. If I try to do like this: mysql < queryfile.

Outfile syntax and out of memory

2006-05-08 Thread Johan Lundqvist
Hi, I need to extract some data to a textfile from a big database. If I try to do like this: mysql < queryfile.sql > outfile.txt "outfile.txt" it looks something like: "OrderID", "Quant", "OrdrDate", "code1", "code2"... 10021, 12, 20060412, 23, 95... 10022, 5, 20060412, , 75... But, I never g

Re: Syntax Error

2006-04-07 Thread mysql
Hi Mark. On Fri, 7 Apr 2006, Mark Sargent wrote: > To: mysql@lists.mysql.com > From: Mark Sargent <[EMAIL PROTECTED]> > Subject: Syntax Error > > Hi All, > > am trying to get up to speed on cli syntax again, > > mysql> show open tables from osc > ->

Re: Syntax Error

2006-04-07 Thread Mark Sargent
Hi All, Ah, sorry, a semicolon makes it a whole new world, eh. Cheers. Mark Sargent. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Syntax Error

2006-04-07 Thread Mark Sargent
Hi All, am trying to get up to speed on cli syntax again, mysql> show open tables from osc -> what is wrong with the command above and the one below, mysql> show tables from osc -> Why do I not get any output? I was following here, http://dev.mysql.com/doc/refman/5.1/

Re: // confusing syntax error when importing //

2006-04-04 Thread sheeri kritzer
EY `name_title_timestamp` ( `cur_namespace` , `cur_title` , > `inverse_timestamp` ) , > KEY `user_timestamp` ( `cur_user` , `inverse_timestamp` ) , > KEY `usertext_timestamp` ( `cur_user_text` , `inverse_timestamp` ) , > KEY `namespace_redirect_timestamp` ( `cur_namespace` , `cur_is_red

// confusing syntax error when importing //

2006-04-03 Thread julian oliver
, `inverse_timestamp` ) , KEY `namespace_redirect_timestamp` ( `cur_namespace` , `cur_is_redirect` , `cur_timestamp` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1 PACK_KEYS =1 AUTO_INCREMENT =1028; MySQL said: Documentation #1064 - You have an error in your SQL syntax. Check the manual that

Re: Syntax Question Constraint, Index

2006-04-03 Thread Martijn Tonies
>Create table events ( >uid BIGINT NOT NULL AUTO_INCREMENT, >name VARCHAR(255), >start_date DATE, >duration INTEGER, >location_id BIGINT, >primary key (uid) >); > >Create table locations ( >uid BIGINT NOT NULL AUTO_INCREMENT, >name VARCHAR(255), >address VARCHAR(255), >primary key (uid) >) > >Alter

Syntax Question Constraint, Index

2006-04-03 Thread Scott Purcell
I ran into some syntax over the weekend, that I am trying to make sense of. Here is the create table statements. Drop table if exists events Drop table if exists locations Create table events ( uid BIGINT NOT NULL AUTO_INCREMENT, name VARCHAR(255), start_date DATE, duration INTEGER

Re: auto_increment syntax

2006-03-23 Thread Simon Garner
On 24/03/2006 11:06 a.m., Eric Beversluis wrote: Can someone illustrate the correct syntax for using auto_increment in making a table? I've studied the manual and I'm not seeing how it comes out. EG: CREATE TABLE Books ( bookID INT(5) PRIMARY KEY AUTO_INCREMENT... THEN WHAT?

auto_increment syntax

2006-03-23 Thread Eric Beversluis
Can someone illustrate the correct syntax for using auto_increment in making a table? I've studied the manual and I'm not seeing how it comes out. EG: CREATE TABLE Books ( bookID INT(5) PRIMARY KEY AUTO_INCREMENT... THEN WHAT? Thanks. EB -- MySQL General Mailing List For lis

Re: Alter table syntax question -

2006-03-01 Thread gerald_clark
bobgoodwin wrote: I am running MySql 4.1.6 in FC-4 Linux amd it is a huge learning exercise for me! I am using O'Reilly's MYSQL Cookbook, have gone through numerous pages of the "reference manual" and stuff on Google but still can get the proper commands and

Alter table syntax question -

2006-03-01 Thread bobgoodwin
I am running MySql 4.1.6 in FC-4 Linux amd it is a huge learning exercise for me! I am using O'Reilly's MYSQL Cookbook, have gone through numerous pages of the "reference manual" and stuff on Google but still can get the proper commands and syntax to alter the follo

Re: Change on LEFT JOIN ON syntax in 5.x?

2006-02-21 Thread SGreen
ortion of the original query contained several tables that were implicitly cross joined by commas. Eric will need to use parentheses in order to change the order of operations (the join sequence) to include one of his comma-listed tables first or he will need to rewrite his query to use the exp

Re: Change on LEFT JOIN ON syntax in 5.x?

2006-02-21 Thread Jan Pieter Kunst
On 2/20/06, Eric Persson <[EMAIL PROTECTED]> wrote: > Hi, > > I have a query which works fine for me in my 4.1 environment, but when > moved to the 5.0.18 environment, it fails with the result below: > > mysql> SELECT r.uid, u.username, u.image_type, count(id) AS antal, > s.timestamp FROM recruits_

Re: Change on LEFT JOIN ON syntax in 5.x?

2006-02-20 Thread Pooly
2006/2/20, Eric Persson <[EMAIL PROTECTED]>: > Hi, > > I have a query which works fine for me in my 4.1 environment, but when > moved to the 5.0.18 environment, it fails with the result below: > > mysql> SELECT r.uid, u.username, u.image_type, count(id) AS antal, > s.timestamp FROM recruits_uid r,

Change on LEFT JOIN ON syntax in 5.x?

2006-02-20 Thread Eric Persson
Hi, I have a query which works fine for me in my 4.1 environment, but when moved to the 5.0.18 environment, it fails with the result below: mysql> SELECT r.uid, u.username, u.image_type, count(id) AS antal, s.timestamp FROM recruits_uid r, users u, users u2 LEFT JOIN sessions s ON s.uid=u.ui

Re: Help Understanding Document Syntax

2006-01-31 Thread Michael Stassen
Rhino wrote: First and foremost, thank you very much Michael for correcting my mistakes; I _was_ a bit sloppy in my reading of the syntax for the statements and that caused some unnecessary errors in my reply to Scott. However, your corrections are not _quite_ right even now. See below where

Re: Help Understanding Document Syntax

2006-01-31 Thread SGreen
foremost, thank you very much Michael for correcting my mistakes; > I _was_ a bit sloppy in my reading of the syntax for the statements and that > caused some unnecessary errors in my reply to Scott. > > However, your corrections are not _quite_ right even now. See below

Re: Help Understanding Document Syntax

2006-01-31 Thread Rhino
First and foremost, thank you very much Michael for correcting my mistakes; I _was_ a bit sloppy in my reading of the syntax for the statements and that caused some unnecessary errors in my reply to Scott. However, your corrections are not _quite_ right even now. See below where I explain

Re: Help Understanding Document Syntax

2006-01-30 Thread Michael Stassen
if you do this: CREATE TABLE Foo ... constraint (bar) foreign key(workdept) references Sample.department on delete cascade ... That's not quite right. There should be no parentheses around the symbol, but you do need parentheses around the referenced column. The syntax is

Re: Help Understanding Document Syntax

2006-01-30 Thread Rhino
database, so I looked up the syntax to do the same thing in MySQL and came up with this small example: = use tmp; create table Purcell01 (empno smallint not null, fname char(10) not null, lname char(10) not null, primary key(empno) co

Help Understanding Document Syntax

2006-01-30 Thread Scott Purcell
Hello, I have created some tables a while back, and of course, and I am learning, I have found problems with duplicate entries and other problems. So upon a fresh read of the 5.1 docs, I am trying to understand the word "symbol" after the constraint. I would like to be able to somehow comb

Re: Altering column syntax help/and repare

2006-01-18 Thread Martijn Tonies
> I think I really misunderstood the directions for alter table, an I'm > not sure how to fix this. I was trying to allow certain columns to be > null in an existing table. > I used the following syntax: > ALTER TABLE users ALTER COLUMN title SET DEFAULT NULL; > Now

Altering column syntax help/and repare

2006-01-18 Thread John Stile
I think I really misunderstood the directions for alter table, an I'm not sure how to fix this. I was trying to allow certain columns to be null in an existing table. I used the following syntax: ALTER TABLE users ALTER COLUMN title SET DEFAULT NULL; Now 'describe users;' show

Porting ISAM application with HANDLER syntax - bad performance

2006-01-09 Thread Christophe LEITIENNE
Hi, I'm porting a D-ISAM application to Mysql. My idea is to emulate ISAM calls with the HANDLER syntax. But I wish to make sure that performance will be at least as good as direct ISAM calls. Then I did some tests, scanning a simple table containing 6000 records with a small C pr

Re: an backup syntax error

2006-01-05 Thread gerald_clark
wangxu wrote: >Follow is my preform and result: >- >mysql> backup table ht_detail to '/'; >+++--+--+ >| Table | Op | Msg_type | Msg_text

RE: an backup syntax error

2006-01-04 Thread Logan, David (SST - Adelaide)
--- -Original Message- From: wangxu [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 January 2006 1:29 PM To: mysql@lists.mysql.com Subject: an backup syntax error Follow is my preform and result: - mysql

an backup syntax error

2006-01-04 Thread wangxu
Follow is my preform and result: - mysql> backup table ht_detail to '/'; +++--+--+ | Table | Op | Msg_type | Msg_text | +-

Re: Problem with UPDATE syntax when updating multiple tables

2005-12-15 Thread Gleb Paharenko
Hello. Please, could you provide the CREATE statement for you tables and describe the relationships between their fields (it will be good if you include sample data as well). Matthew Batt wrote: > Hi > > I need to update the 'products_id' field (shown below) by copying data > from

Problem with UPDATE syntax when updating multiple tables

2005-12-15 Thread Matthew Batt
Hi I need to update the 'products_id' field (shown below) by copying data from a separate table but I can't use the 'UPDATE' query as each 'product_id' entry relates to a specific 'products_model' row. id / assembly_no / products_id / products_model 1 / 2313 / *** / CASEACERENTRY2 2 / 2313 /

RE: LOAD DATA INFILE Syntax

2005-12-12 Thread Logan, David (SST - Adelaide)
2005 8:12 AM To: mysql@lists.mysql.com Subject: LOAD DATA INFILE Syntax Hi mysql-list, I just installed, ++ | version() | ++ | 5.0.16-log | ++ Here is what I am testing out: (simple table and data) % echo 'a b c d' > testfile mysql> CREATE

LOAD DATA INFILE Syntax

2005-12-12 Thread Elliot Kleiman
Hi mysql-list, I just installed, ++ | version() | ++ | 5.0.16-log | ++ Here is what I am testing out: (simple table and data) % echo 'a b c d' > testfile mysql> CREATE TABLE `test` ( -> `fe` VARCHAR( 2 ), -> `fi` VARCHAR( 2 ), -> `fo` VARCHAR( 2

Re: Syntax works in version

2005-11-25 Thread SGreen
Michael Immerman <[EMAIL PROTECTED]> wrote on 11/25/2005 11:52:47 AM: > I have a query that works perfectly in version 4.1.10a-nt however it > fails in version >4.0.24. If someone has any ideas on how to fix the query to run > in 4.0.24, I would really appreciate it! Thanks - code below: >

Syntax works in version

2005-11-25 Thread Michael Immerman
I have a query that works perfectly in version 4.1.10a-nt however it fails in version 4.0.24. If someone has any ideas on how to fix the query to run in 4.0.24, I would really appreciate it! Thanks - code below: Select ibiBillMth,ibiBillYear,meter,ibiTotChg,id,userid,ibiDaysInBilling

Re: clarification on stored procedure syntax

2005-11-01 Thread Ligaya Turmelle
never mind - found the paragraph in the manual.. The |SQL SECURITY| characteristic can be used to specify whether the routine should be executed using the permissions of the user who creates the routine or the user who invokes it. The default value is |DEFINER|. This feature is new in SQL:200

clarification on stored procedure syntax

2005-11-01 Thread Ligaya Turmelle
Am I understanding this correctly? SQL SECURITY DEFINER... DEFINER - make sure the person who wrote this procedure had the authority/permissions to do everything in it and runs or not based on that, INVOKER - make sure the person who uses this procedure has the authority/permissions to do ever

Re: Problem with syntax 4 creating 1 table

2005-10-26 Thread Michael Stassen
Rhino wrote: - Original Message - From: Ed <mailto:[EMAIL PROTECTED]> To: mysql@lists.mysql.com <mailto:mysql@lists.mysql.com> Sent: Tuesday, October 25, 2005 6:40 PM Subject: Problem with syntax 4 creating 1 table Shawn green was very kindly he

Re: Problem with syntax 4 creating 1 table

2005-10-25 Thread Rhino
  - Original Message - From: Ed To: mysql@lists.mysql.com Sent: Tuesday, October 25, 2005 6:40 PM Subject: Problem with syntax 4 creating 1 table Shawn green was very kindly helping me ouy trying to make mysql tables and I thought I had go the hang

Re: Problem with syntax 4 creating 1 table

2005-10-25 Thread Michael Stassen
, `int_Quantity` INT, `int_saleCart` PRIMARY KEY ( int_saleCart ) ) ENGINE = MYISAM MySQL said: Documentation |#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY KEY ( int_saleCart ) ) ENGINE = MYISA

Problem with syntax 4 creating 1 table

2005-10-25 Thread Ed
,`int_saleCart` PRIMARY KEY ( int_saleCart ) ) ENGINE = MYISAM MySQL said: #1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'PRIMARY KEY ( int_saleCart ) ) ENGINE = MYISAM' at line 6   He

Re: syntax of bind_address

2005-10-15 Thread Gleb Paharenko
Hello. Unfortunately, you can bind only to a single specific address. Daniel Schaerli wrote: > Hi, > > How is the sintax to in my.cnf listen only to specified ip-addresses or > ip-ranges? I tried: > bind_address 127.0.0.1 192.168.0.10 192.168.0.20 > and > bind_address 127.0.0.1, 19

syntax of bind_address

2005-10-12 Thread Daniel Schaerli
Hi, How is the sintax to in my.cnf listen only to specified ip-addresses or ip-ranges? I tried: bind_address 127.0.0.1 192.168.0.10 192.168.0.20 and bind_address 127.0.0.1, 192.168.0.10, 192.168.0.20 and bind_address 127.0.0.1 192 bind_address 192.168.0.10 bind_address 192.168.0.20 Non of them wo

Re: DELETE syntax

2005-10-10 Thread Remo Tex
http://dev.mysql.com/doc/mysql/en/delete.html ... Multiple-table syntax: DELETE [LOW_PRIORITY] [QUICK] [IGNORE] tbl_name[.*] [, tbl_name[.*] ...] FROM table_references [WHERE where_definition] Or: DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM tbl_name[.*] [, tbl_name

DELETE syntax

2005-10-10 Thread mark
Hi, I need to know the syntax I can use for a certain delete statement. This is the idea: - A table with users, which has at least these fields, a user id field and a field containing its status (active, disabled, review). - A table that links certain users to each other, containing at least

encryption syntax

2005-10-03 Thread Jeff Pflueger
Anybody have an idea why I might be getting the following message: ERROR 1064 (0): You have an error in your SQL syntax near '('hello','password')' at line 1 When I type this in at the command line: SELECT AES_ENCRYPT('hello','password'

Re: ~/.my.cnf syntax for multiple MySQL user accounts per login account?

2005-10-02 Thread s. keeling
Incoming from Paul DuBois: > At 18:50 -0600 10/2/05, s. keeling wrote: > > > >Groan. More stuff to learn, configure, maintain, and memorize. I'm > >trying to replicate Unix's "root vs. mere user" security paradigm in > > I think your analogy is flawed. If you really want the root vs mere > user

Re: ~/.my.cnf syntax for multiple MySQL user accounts per login account?

2005-10-02 Thread Paul DuBois
At 18:50 -0600 10/2/05, s. keeling wrote: Incoming from Paul DuBois: At 16:39 -0600 10/2/05, s. keeling wrote: > >The admin account, with no password, doesn't function at all. perl >programs appear to ignore ~/.my.cnf forcing me to open() them and >slurp username and password that way. >

Re: ~/.my.cnf syntax for multiple MySQL user accounts per login account?

2005-10-02 Thread s. keeling
Incoming from Paul DuBois: > > At 16:39 -0600 10/2/05, s. keeling wrote: > > > >The admin account, with no password, doesn't function at all. perl > >programs appear to ignore ~/.my.cnf forcing me to open() them and > >slurp username and password that way. > > > >How is this supposed to work? Su

Re: ~/.my.cnf syntax for multiple MySQL user accounts per login account?

2005-10-02 Thread Paul DuBois
I think I'd probably set up aliases that invoke mysql or mysqladmin with a --defaults-extra-file option that contains the username/password for the appropriate account. At 16:39 -0600 10/2/05, s. keeling wrote: I've checked everywhere I can find (Paul DuBois' MySQL, ML archives, dev.mysql.com,

~/.my.cnf syntax for multiple MySQL user accounts per login account?

2005-10-02 Thread s. keeling
I've checked everywhere I can find (Paul DuBois' MySQL, ML archives, dev.mysql.com, my local User Group) for this, but everything I find either describes a simplistic or far more complex case. This is all on my local box, no networking required, and I'm the only one accessing the data. I've four

Re: LOAD DATA INFILE Syntax Error

2005-09-26 Thread Jason Ferguson
| > >> | LOCTYPE | varchar(10) | YES | | NULL | | > >> | COUNTY | int(11) | YES | | NULL | | > >> | CTRLAT | float | YES | | NULL | | > >> | CTRLNG | float | YES | | NULL | | > >> +-+-+--+-+-++ > &

Re: LOAD DATA INFILE Syntax Error

2005-09-26 Thread Jason Ferguson
I've been over that page before posting, with no luck. It might be an obvious error in syntax, but I can't figure it out. Jason On 9/26/05, Robert L Cochran <[EMAIL PROTECTED]> wrote: > > http://mirror.tomato.it/mysql/doc/mysql/en/load-data.html > > Bob Cochran > &

Re: LOAD DATA INFILE Syntax Error

2005-09-26 Thread Jasper Bryant-Greene
| NULL | | | LOCTYPE | varchar(10) | YES | | NULL | | | COUNTY | int(11) | YES | | NULL | | | CTRLAT | float | YES | | NULL | | | CTRLNG | float | YES | | NULL | | +-+-+--+-+-++ And here is the error I get: ERROR 1064 (42000): You have an

Re: LOAD DATA INFILE Syntax Error

2005-09-26 Thread Robert L Cochran
RROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@d,@d ,LOCNAME,LOCTYPE,@d,STATE,COUNTY,@d,@d,LNG,LAT,@d,@d,@d,@d,@d,@d,@d,@d)' at line 5 This error is driving me nuts! Any help would b

LOAD DATA INFILE Syntax Error

2005-09-26 Thread Jason Ferguson
OUNTY | int(11) | YES | | NULL | | | CTRLAT | float | YES | | NULL | | | CTRLNG | float | YES | | NULL | | +-+-+--+-+-++ And here is the error I get: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to you

RE: Where exists query syntax error?

2005-09-02 Thread SGreen
:[EMAIL PROTECTED] > Sent: Friday, September 02, 2005 11:48 AM > To: Barbara Deaton > Cc: mysql@lists.mysql.com > Subject: Re: Where exists query syntax error? > > > > > "Barbara Deaton" <[EMAIL PROTECTED]> wrote on 09/02/2005 11:33:19 AM: > > &g

RE: Where exists query syntax error?

2005-09-02 Thread Barbara Deaton
: Where exists query syntax error? "Barbara Deaton" <[EMAIL PROTECTED]> wrote on 09/02/2005 11:33:19 AM: > I need help re-writing a query. > > When accessing DB2 I can execute the below: > delete from DM_KOHLS.clr_plan_price_change_metrics A &g

Re: Where exists query syntax error?

2005-09-02 Thread SGreen
005' ) and > exists ( select * from SESSION.delete_table_tmp B >where A.clr_plan_sk = B.clr_plan_sk) > > > I modified it to be what I thought was a valid MySQL statement but > when I execute it against MySQL I get a syntax e

Where exists query syntax error?

2005-09-02 Thread Barbara Deaton
t was a valid MySQL statement but when I execute it against MySQL I get a syntax error: ERROR: Execute error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists ( select * from dele

Re: DROP VIEW Syntax

2005-08-05 Thread Martijn Tonies
Hi, > In the MySQL Docs at > http://dev.mysql.com/doc/mysql/en/drop-view.html, it > says: > > "RESTRICT and CASCADE, if given, are parsed and > ignored." > > I am not sure if I understood this? Easy, you can specify "restrict" or "cascade", but MySQL does absolutely nothing with it. With regards

DROP VIEW Syntax

2005-08-05 Thread Karam Chand
Hello, In the MySQL Docs at http://dev.mysql.com/doc/mysql/en/drop-view.html, it says: "RESTRICT and CASCADE, if given, are parsed and ignored." I am not sure if I understood this? Regards, karam __ Do You Yahoo!? Tired of spam? Yahoo! Mail has

Re: Using "START SLAVE [SQL_THREAD] UNTIL" syntax

2005-07-12 Thread Bruce Dembecki
Good issue, I totally had the same concerns, so we built our own system. As a side note we run an admin server which we use to generate reports, run backups and so on - it takes load off the production servers, where speed is critical. Recovery from backup however is a whole other issue, an

Re: Using "START SLAVE [SQL_THREAD] UNTIL" syntax

2005-07-12 Thread gerald_clark
David Ulevitch wrote: On Jul 12, 2005, at 6:15 AM, gerald_clark wrote: Nightly backup and binlogs can take you to any point in the day. I failed to make my entire point clear then. That's true. But when someone does the "oh fsck, I think I just ran a catastrophic query on our productio

<    1   2   3   4   5   6   7   8   9   10   >