Re: "Batch" Update?

2004-05-28 Thread Peter Brawley
UPDATE tableA, tableB SET tableA.column2 = tableB.column2 WHERE tableA.rowID = tableB.rowID; PB - Original Message - From: John Mistler To: [EMAIL PROTECTED] Sent: Saturday, May 29, 2004 12:16 AM Subject: "Batch" Update? Let's say I have a table "A" with 25 columns. I also

"Batch" Update?

2004-05-28 Thread John Mistler
Let's say I have a table "A" with 25 columns. I also have an identical table "B" with 25 columns (column names, indexes, everything the same). I want to get the entry of column 2 of every row of table "B", and update column 2 of every row of table "A" WHERE the rowID from table "A" matches the ro

data disappeared in mysql on XP

2004-05-28 Thread Centaur zeus
Hi all, I have just installed mysql 4.0 on my XP. I inserted data into the db by java. Then I used 1) command prompt to select from the table 2) MysqlCC 3) JDBC to retrieved the inserted data. It's ok. However, after a while (like rebooting my notebook, or hibernate my notebook... but not repe

RE: Server capabilities

2004-05-28 Thread Donny Simonton
Jose, First I would recommend fixing your site. Warning: main(db/db.php): failed to open stream: No such file or directory in /home/uc0208ea/public_html/mainfile.php on line 77 Fatal error: main(): Failed opening required 'db/db.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/uc0

Server capabilities

2004-05-28 Thread tachu
OK I have one more scenario I need some help with. Say im using master and slaves replication and i have N ammount of servers would mysql be able to have say 10 databases with about 30 tables per db and a total of say 100 megs of data per/db. would the server be able to manage that. conside

Specifying an index length and the default value

2004-05-28 Thread David Griffiths
The length of indexes on varchar and char indexes can be specified at index creation. What is the default length of an index if no length is provided? The High Performance MySQL book hints that the index-length used is specific for each entry in the indexed column (ie an index on a column where

Getting Oriented: Political versus Ecological Geography

2004-05-28 Thread David Blomstrom
I think this is pretty simple, but I'm not thinking very clearly at the moment, and I want to make sure I get it right. I want to create a database with information on the world's nations and smaller jurisdictions (e.g. states and provinces) AND on physiographic and bio/ecological regions. My prim

Re: Mysql Scenario

2004-05-28 Thread tachu
thanks all for your responses. so basically replication would be one option. now how many servers do you think i would need to replicate to have say a set of mysql servers and then on top of that have a set of say 50 application servers 25 accesing each server would that be feasable consideri

Re: Mysql Scenario

2004-05-28 Thread Brent Baisley
You wouldn't setup one repository to hold the data. You would actually probably hit disk and network limitations with a single repository. MySQL supports master/slave setups which would replicate the data across machines. One machine would be the "master" handling updates which would propagate

Re: mysql_qury returns -1!

2004-05-28 Thread Dan Nelson
In the last episode (May 28), Bono, Saroj AA R62 said: > Non zero indicates an error but the possible values are (from > errmsg.h) Return Values Zero if the query was successful. Non-zero if > an error occurred. > > Errors > CR_COMMANDS_OUT_OF_SYNC > Commands were executed in an improper order.

Re: location of created database

2004-05-28 Thread Lou Olsten
>From the docs at: http://dev.mysql.com/doc/mysql/en/CREATE_DATABASE.html "Databases in MySQL are implemented as directories containing files that correspond to tables in the database. Because there are no tables in a database when it is initially created, the CREATE DATABASE statement only create

Re: Foreign Key Constraints

2004-05-28 Thread Martijn Tonies
> > This makes perfectly sense. > > > > So, once again I dare to ask: what's the problem with NULLable > > Foreign Keys? It works fine :-) > > > > (now, who was it that said that FKs should be entered/exist > > always?) > > > > With regards, > > Here is the issue... > > If you go back to what he w

Re: SHA1 Question

2004-05-28 Thread Brian Reichert
On Fri, May 28, 2004 at 12:04:53PM -0400, Brian Muha wrote: > Hello all and I hope this email finds you all well.. > > My question is I currently have passwords encrypted in SHA1 via LDAP... > > What I need to do is get these user names and passwords out of ldap and > placed in mysql .. > > The

mysql_qury returns -1!

2004-05-28 Thread Bono, Saroj AA R62
Non zero indicates an error but the possible values are (from errmsg.h) Return Values Zero if the query was successful. Non-zero if an error occurred. Errors CR_COMMANDS_OUT_OF_SYNC Commands were executed in an improper order. CR_SERVER_GONE_ERROR The MySQL server has gone away. CR_SERVER_LO

RE: strange behavior in foreign keys

2004-05-28 Thread joao . miguel . ferreira . 19740720
Victoria and Robert Thank you for your help. I think it is solved. The error was (as Robert said) "ERROR 1005: Can't create table './alex/jmf33.frm' (errno: 150)" I aslo checked "SHOW INNODB STATUS" where I was redirected to http://www.innodb.com/ibman.html There I found a link to a document sa

Re: Foreign Key Constraints

2004-05-28 Thread Jeff Smelser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 28 May 2004 11:50 am, Martijn Tonies wrote: > This makes perfectly sense. > > So, once again I dare to ask: what's the problem with NULLable > Foreign Keys? It works fine :-) > > (now, who was it that said that FKs should be entered/exist > a

Re: Why is MySQL.com using MnoGoSearch for searching its site???

2004-05-28 Thread Jim Winstead
On Fri, May 28, 2004 at 12:17:37AM -0500, mos wrote: > As most people already know, MySQL has FullText indexing built into it, so > why is mysql.com using MnoGoSearch? (There is an icon "Powered by > MnoGoSearch" on the search page.) > > 1) Is there something wrong with MySQL's FullText search f

Re: Foreign Key Constraints

2004-05-28 Thread Jeff Smelser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 28 May 2004 11:50 am, Martijn Tonies wrote: > This makes perfectly sense. > > So, once again I dare to ask: what's the problem with NULLable > Foreign Keys? It works fine :-) > > (now, who was it that said that FKs should be entered/exist > a

Re: Foreign Key Constraints

2004-05-28 Thread Martijn Tonies
Hi, > > Martijn Tonies wrote: > > > >> Hi Jeff, > >> > > > > > > In this example, inno3.PK_Col references inno2.Child_Col, so the 2nd and > > 3rd statements are failing because they try to set inno3.PK_Col to > > values not present in inno2.Child_Col. The NULLs are irrelevant. Woops, right Mich

Re: Foreign Key Constraints

2004-05-28 Thread Michael Stassen
Michael Stassen wrote: Martijn Tonies wrote: Hi Jeff, In this example, inno3.PK_Col references inno2.Child_Col, so the 2nd and 3rd statements are failing because they try to set inno3.PK_Col to values not present in inno2.Child_Col. The NULLs are irrelevant. Michael Perhaps this is what you

Re: Foreign Key Constraints

2004-05-28 Thread Michael Stassen
Martijn Tonies wrote: Hi Jeff, CREATE TABLE inno2 ( PK_Col Integer NOT NULL DEFAULT 0, Child_Col Integer, PRIMARY KEY (PK_Col) ) TYPE=InnoDB ; CREATE INDEX I_Inno2_ChildCol ON inno2(Child_Col); CREATE TABLE inno3 ( PK_Col Integer NOT NULL DEFAULT 0, Child_Col Integer, PRIMARY KEY (PK_Col) ) TYPE=I

Re: building 4.0.20 on Solaris2.7-x86 - make errors after configure

2004-05-28 Thread Stephen E. Bacher
Not sure if this will help, but we recently ran into a problem building MySQL on a Solaris 9 system - the build failed at the point of trying to make "readline" because of a missing file Makefile.in. It turned out that automake wasn't available, and automake is required to do the make. When we in

Re: query to see if db exists...........mysql_query( myQuery)

2004-05-28 Thread Stephen E. Bacher
>On Thu, May 27, 2004 at 03:59:46PM -0400, Bono, Saroj AA R62 wrote: >> I am going to use mysql_query() and want to find out if a certain >> database exists. If mysql_real_connect() fails there are many errors >> that could account for this. The database may exist , and I cant take >> the error r

Contention in a parallel app or did MySQL lose its marbles?

2004-05-28 Thread Tbird67ForSale
I have a program which read rows from one table (new_data) and attempts to find a matching record in another table, called master_table. Upon determining a that we have seen a record from this client (in new_data) before, based upon some exact matching and probability matching logic, we insert

SHA1 Question

2004-05-28 Thread Brian Muha
Hello all and I hope this email finds you all well.. My question is I currently have passwords encrypted in SHA1 via LDAP... What I need to do is get these user names and passwords out of ldap and placed in mysql .. The application is qmail/courier.. The question is can i just take the already

RE: strange behavior in foreign keys

2004-05-28 Thread Bartis, Robert M (Bob)
Also, suggest you read http://dev.mysql.com/doc/mysql/en/InnoDB_foreign_key_constraints.html and in particular look to see if you're getting error 1005 or 105 returned. That was the purpose of my original question to you. Bob -Original Message- From: Victoria Reznichenko [mailto:[EMAIL

Re: strange behaviour in foreign keys

2004-05-28 Thread Victoria Reznichenko
[EMAIL PROTECTED] wrote: > > I've been running MySQL 4.0.x on a RH9 machine for some months and everything > was fine. I could create tables of type InnoDB and define FOREIGN KEY's all > was well. > > A few days ago it does not let me create tables with foreign keys anymore it > says some

Re: Foreign Key Constraints

2004-05-28 Thread Martijn Tonies
Hi Jeff, > > ok - I've checked. > > > > > > > Why not? What's wrong with this: > > > > > > > > > > BORROWER > > > > > BorrowerID > > > > > > > > > > BOOKS > > > > > BookID > > > > > BorrowerID (nullable) > > > > > > > > > > FK from Books.BorrowerID to Borrower.BorrowerID > > > > > > > > > > I have

Re: selecting what NOT in the table..

2004-05-28 Thread Brent Baisley
Why not search on if it's there, if no results are returned, you know it's not there. SELECT count(*) as langcount from db where lang=$lang; If you want to check for multiple items at once: SELECT count(*) as langcount from db where lang in ('lang1', 'lang2', ...) Since you don't want to actual

Please help..

2004-05-28 Thread Chip Bell
Hello, I have a Red Hat 9 server which runs a qmail/toaster software package. It allows webmail to authenticate against a mysql db and stores mail there too. K, the issue.. Every once in a while, the web client just SITS at authentication. The client just sits there forever. The login

Re: Foreign Key Constraints

2004-05-28 Thread Jeff Smelser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 28 May 2004 02:57 am, Martijn Tonies wrote: > Hi, > > ok - I've checked. > > > > > Why not? What's wrong with this: > > > > > > > > BORROWER > > > > BorrowerID > > > > > > > > BOOKS > > > > BookID > > > > BorrowerID (nullable) > > > > > > > >

Re: location of created database

2004-05-28 Thread gerald_clark
Bono, Saroj AA R62 wrote: When I created a database (directly in mysql) from some random dir where I started mysql, I found that it got created in the /var/lib/mysql dir. I ran mysql from a dir where my C++ program is. I wanted to create a database using mysql_query so I did mysql_query( &mysql,

strange behaviour in foreign keys

2004-05-28 Thread joao . miguel . ferreira . 19740720
Hello, I've been running MySQL 4.0.x on a RH9 machine for some months and everything was fine. I could create tables of type InnoDB and define FOREIGN KEY's all was well. A few days ago it does not let me create tables with foreign keys anymore it says something like "unable to create /da

location of created database

2004-05-28 Thread Bono, Saroj AA R62
When I created a database (directly in mysql) from some random dir where I started mysql, I found that it got created in the /var/lib/mysql dir. I ran mysql from a dir where my C++ program is. I wanted to create a database using mysql_query so I did mysql_query( &mysql, "CREATE DATABASE IF NOT E

Re: query with escape characters

2004-05-28 Thread gerald_clark
It depends on what language you are using to send the query. If you are using the shell, 'S\'ARENAL' parses to 'S'ARENAL' before it is sent to the server. You will need to escape the escape character. 'S\\'Arenal' or maybe even 'S\\\'Arenal' or 'S'ARENAL' It depends on how many parsers scan

Re: mysqldump format.

2004-05-28 Thread Victoria Reznichenko
Josef Karthauser <[EMAIL PROTECTED]> wrote: > On Fri, May 28, 2004 at 03:05:53PM +0300, Victoria Reznichenko wrote: > > Josef Karthauser <[EMAIL PROTECTED]> wrote: > > > In the old days of mysql (version 3.x) the mysqldump command would > > > produce one text line per database row, but since then i

Re: Changing Password on Latest MySQL, etc

2004-05-28 Thread Victoria Reznichenko
Carlos Sunden <[EMAIL PROTECTED]> wrote: > > The mysql client & mysql-devel packages did it. > Was able to change the password which I did with a > very easy one. Now when I want to change the existing > password & it fails. It does not let me. You must specify old password when you set a new one

Re: Mysql Scenario

2004-05-28 Thread Thomas Spahni
Hi, sharing a data directory between different servers (probably using nfs) is not a good idea and it would create a new bottleneck. A quote from the very fine manual: "Make it easy for yourself: Forget about sharing a data directory among servers over NFS. A better solution is to have one compu

selecting what NOT in the table..

2004-05-28 Thread LR Sieting
Hello, I have several tables that have a common column. I need to check those tables for 1 of 4 items. If that item does not exist, I jump to a page saying it is coming soon... I am passing a variable ($lang) around using php to select info based on that column. what would be a suggested sel

Re: mysqldump format.

2004-05-28 Thread Josef Karthauser
On Fri, May 28, 2004 at 03:05:53PM +0300, Victoria Reznichenko wrote: > Josef Karthauser <[EMAIL PROTECTED]> wrote: > > In the old days of mysql (version 3.x) the mysqldump command would > > produce one text line per database row, but since then it appears to > > have been replaced with an "extende

changing an auto_increment value in innodb

2004-05-28 Thread Gerben Gieling
Dear all, I have an auto_increment value in an innodb table. I recently introduced a new row by mistake and removed it. I beleive I read somewhere in the manual that an innodb table does not reuse this number by default. I also remember vaguely that it is possible to reset this next autoincrement

Re: A Request from a Software Programmer

2004-05-28 Thread Michael Kruckenberg
There are a number of steps after installation that need to happen before you will be able to connect: http://dev.mysql.com/doc/mysql/en/Unix_post-installation.html naresh bhalala wrote: Respected Sir/Madam, I have download the MySQL4.0 from www.dev.mysql.com and file is :mysql-standard4.0.20-pc-

Re: A Request from a Software Programmer

2004-05-28 Thread Victoria Reznichenko
naresh bhalala <[EMAIL PROTECTED]> wrote: > Respected Sir/Madam, > I have download the MySQL4.0 from www.dev.mysql.com > and file is > :mysql-standard4.0.20-pc-linux-i686.tar.gz. > > I have installed it as bellow: > #gunzip -9c standard4.0.20-pc-linux-i686.tar.gz | tar > -xvf - > and all files

Re: Duplicate does not exist

2004-05-28 Thread fr0g
Egor Egorov wrote: fr0g <[EMAIL PROTECTED]> wrote: Well I'm in despare. I have a record in my DB with name=Michalis and surname=Ka*l*ogiannis. When I try to add name=Michalis and surname=Ka*k*ogiannis I get the error about duplicates. It doesn't give an error in the english field, but it does i

A Request from a Software Programmer

2004-05-28 Thread naresh bhalala
Respected Sir/Madam, I have download the MySQL4.0 from www.dev.mysql.com and file is :mysql-standard4.0.20-pc-linux-i686.tar.gz. I have installed it as bellow: #gunzip -9c standard4.0.20-pc-linux-i686.tar.gz | tar -xvf - and all files r extraced in folder:standard4.0.20-pc-linux-i686 Now i've

Re: Duplicate does not exist

2004-05-28 Thread Egor Egorov
fr0g <[EMAIL PROTECTED]> wrote: > > Well I'm in despare. > I have a record in my DB with name=Michalis and surname=Ka*l*ogiannis. > When I try to add name=Michalis and surname=Ka*k*ogiannis I get the > error about duplicates. > It doesn't give an error in the english field, but it does in greek

MySQL Connector/J 3.0.14 (Production) Has Been Released

2004-05-28 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, MySQL Connector/J 3.0.14, a new version of the Type-IV all-Java JDBC driver for MySQL has been released. Version 3.0.14 is a bugfix release for the production tree that is suitable for use with any MySQL version including MySQL-4.1 or MySQL-5.0.

Re: Duplicate does not exist

2004-05-28 Thread fr0g
Well I'm in despare. I have a record in my DB with name=Michalis and surname=Ka*l*ogiannis. When I try to add name=Michalis and surname=Ka*k*ogiannis I get the error about duplicates. It doesn't give an error in the english field, but it does in greek fields (with greek characters) even though K

Re: Could not getConnection as before with Connector/J v3.0.13

2004-05-28 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Goyvaerts (jgoyvaer) wrote: > Same here. Went back to the 3.0.12 drivers. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, May 28, 2004 10:24 AM > To: [EMAIL PROTECTED] > Subject: Could not getConn

Re: mysqldump format.

2004-05-28 Thread Victoria Reznichenko
Josef Karthauser <[EMAIL PROTECTED]> wrote: > In the old days of mysql (version 3.x) the mysqldump command would > produce one text line per database row, but since then it appears to > have been replaced with an "extended insert" format which is more > efficient for getting data back into the data

Re: mysql_prepare is not built in 4.1.1a?

2004-05-28 Thread Sinisa Milivojevic
Yueming Xu wrote: We downloaded 4.1.1a build, but all the new APIs for transaction and prepared statements are missing from the libmysql.dll. Is there a build for 4.1.x that we can use to test these APIs? Thanks. _ MSN Toolbar pro

speed of 4.0.20 vs. 4.1

2004-05-28 Thread Varshavchick Alexander
Hello, did anybody make any tests to check the speed of 4.1 version comparing with 4.0.*? Does the peformance of 4.1 depend in which client libraries are used - 4.0 or 4.1? As the docs say, the new client/server protocol with support for prepared statements has to be faster, and it would be useful

Re: Duplicate does not exist

2004-05-28 Thread fr0g
Scott Haneda wrote: on 05/28/2004 12:31 AM, fr0g at [EMAIL PROTECTED] wrote: I don't see how this mail helps me. I still don't know why it sais I have a duplicate record and still don't know how to correct this. Those were nice stories, but not really helpfull. In my table every record has a uin

Possible bug in mysqldump with 5.0.0/InnoDB & longblobs?

2004-05-28 Thread Jonas Lindén
I have been running into problems with mysqldump. I have not been able to figure out why mysqldump isnt working as I hope it would. Anyway I thought I'll make the mysql-list aware of the problem and hopefully it will help someone. Or better yet someone knows what I am doing wrong and could point

Looking for reviewers: MySQL Certification Study Guide

2004-05-28 Thread Carsten Pedersen
Hi! In April, the "MySQL Certification Study Guide" was published by MySQL Press. By now, it has arrived in bookstores across the world. The main parts of the book are written by Paul DuBois, Stefan Hinz and yours truly. Paul needs no introduction; Stefan has translated several MySQL books to Ger

Re: Textfile to table

2004-05-28 Thread Thomas Spahni
Hi Paul, assuming that the first three occurances of blanks can be regarded as field separators you can do: prompt> cat file.txt | sed \ -e "s/'/'/g" \ -e "s/ */','/" \ -e "s/ */','/" \ -e "s/ */','/" \ -e "s/^/INSERT INTO categories VALUES('/" \ -e "s/$/');/" | mys

mysqldump format.

2004-05-28 Thread Josef Karthauser
In the old days of mysql (version 3.x) the mysqldump command would produce one text line per database row, but since then it appears to have been replaced with an "extended insert" format which is more efficient for getting data back into the database. The old format was good however for running "

Re: GRANT temporarily removes passwods until FLUSH

2004-05-28 Thread C.W.
Sergei Golubchik wrote: Hi! On May 27, [EMAIL PROTECTED] wrote: Description: Using the GRANT command causes the password to be deleted until 'FLUSH PRIVILEGES' is executed. This is a security problem. Search the bugdb - http://bugs.mysql.com/ the bug is reported there and is already

RE: Could not getConnection as before with Connector/J v3.0.13

2004-05-28 Thread Jan Goyvaerts \(jgoyvaer\)
Same here. Went back to the 3.0.12 drivers. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 10:24 AM To: [EMAIL PROTECTED] Subject: Could not getConnection as before with Connector/J v3.0.13 Hi, I tried to use the latest jdbc driver v

concurrent users & sessions? !!!!!!

2004-05-28 Thread Alaios
Do u know how many users the MySQL server v4 can't support? I am talking about the users that are currently online. I want to know the maximum number for the MyISAM tables and InnoDB Do u know any links for continue reading? Thx - Do you Yah

Re: query with escape characters

2004-05-28 Thread daniel
> Hi, How can I make a query that looks for a city that has a " ' " in > the name? For instance, I am looking for the name S'ARENAL, but the > query below does not work: > > SELECT intl_localidades.id, intl_localidades.codigo_pais, > intl_localidades.localidad_es,intl_zonas.zona,intl_paises.pais_es

query with escape characters

2004-05-28 Thread Diana Castillo
Hi, How can I make a query that looks for a city that has a " ' " in the name? For instance, I am looking for the name S'ARENAL, but the query below does not work: SELECT intl_localidades.id, intl_localidades.codigo_pais, intl_localidades.localidad_es,intl_zonas.zona,intl_paises.pais_es FROM in

Re: GRANT temporarily removes passwods until FLUSH

2004-05-28 Thread Sergei Golubchik
Hi! On May 27, [EMAIL PROTECTED] wrote: > >Description: Using the GRANT command causes the password to be > deleted until 'FLUSH PRIVILEGES' is executed. This is a security > problem. Search the bugdb - http://bugs.mysql.com/ the bug is reported there and is already fixed. Regards, Sergei --

Could not getConnection as before with Connector/J v3.0.13

2004-05-28 Thread michael_wu[吳宏達]
Hi, I tried to use the latest jdbc driver v3.0.13. However, the program I coded no more work. It works well with v3.0.12. The new driver does not accept the following connect url string: jdbc:mysql://localhost/trdb?useUnicode=true&characterEncoding=UTF-8 The following exception occurs: ja

How to configure MySQLCC so that it can display utf8/utf16 string s correctly

2004-05-28 Thread michael_wu[吳宏達]
Hi, I wrote an jdbc application and inserted strings data into the database. I can correctly selected them back. However, I can not visually see the data stored in the data through the MySQLCC GUI. Is there a way to explicitly specify the character set for MySQLCC? Any idea? Regards, Micha

Re: Mysql Scenario

2004-05-28 Thread Scott Haneda
on 05/27/2004 06:30 PM, tachu at [EMAIL PROTECTED] wrote: > WOuld the following scenario be possible > I currently have about 1.2 Tb of data that i need to transform into > mysql and be able to server a very high amount of pages from a > discussion board. would i be able to place the mysql/data di

Re: Duplicate does not exist

2004-05-28 Thread Scott Haneda
on 05/28/2004 12:31 AM, fr0g at [EMAIL PROTECTED] wrote: > I don't see how this mail helps me. > I still don't know why it sais I have a duplicate record and still don't > know how to correct this. > Those were nice stories, but not really helpfull. > In my table every record has a uinque id which

Re: Foreign Key Constraints

2004-05-28 Thread Martijn Tonies
Hi, ok - I've checked. > > > Why not? What's wrong with this: > > > > > > BORROWER > > > BorrowerID > > > > > > BOOKS > > > BookID > > > BorrowerID (nullable) > > > > > > FK from Books.BorrowerID to Borrower.BorrowerID > > > > > > I haven't checked, but this _should_ be possible. > > > > > > With

Re: Duplicate does not exist

2004-05-28 Thread fr0g
I don't see how this mail helps me. I still don't know why it sais I have a duplicate record and still don't know how to correct this. Those were nice stories, but not really helpfull. In my table every record has a uinque id which ofcourse is the key. Yet, the only way I can avoid duplicates is t