About 400 results
Open links in new tab
  1. MySQL :: add column if not exists

    Jun 11, 2006 · However, this will fail if the column already exists AND stop further processing of the script. Is there something that can test for "column exists" in MySql (v. 4)?

  2. MySQL :: Re: Alter all tables in a Database

    Jan 26, 2009 · Maybe something like this ? mysql> use information_schema; Database changed mysql> select TABLE_SCHEMA, TABLE_NAME from TABLES where TABLE_SCHEMA = …

  3. MySQL :: EXAMPLE: How to store pictures in Mysql database

    May 30, 2005 · 1) Download and install MySQL Query Browser 2) Start it and create a connection to your database. Use the "test" as default schema. 3a) Excute the following SQL statement. …

  4. MySQL :: Add column to large table (online DDL)

    Nov 16, 2016 · This table is very busy with constant reads/writes throughout the day. I am on mySQL version 5.6.29 and have read the documentation about online DDL in this version. I …

  5. MySQL :: How to add a Constant Field in Select Query Result Set

    Sep 15, 2008 · Hello, I have created a Table "Personal" fields like ID, Name, Address. Now want to List all values so run this "Select * from Personal", its shows me all rows, but I want the …

  6. MySQL :: alter table add colum if not exist

    Jun 30, 2005 · I have to write an SQL script that add a column to an existing table and this script have to be run many time. The problem is that I don't know how to conditionnaly add a column …

  7. MySQL :: adding a column to a large table

    Sep 10, 2008 · I'm trying to add a column to a fairly large innodb table (14.6m rows) and the ALTER TABLE query has been running for over 27 hours. This is under MySQL 5.0.22 Is there …

  8. MySQL :: Adding new virtual column with instant algorithm

    Dec 9, 2020 · I'm trying to add a generated column using the instant algorithm on an InnoDB table on MySQL 8.0.22 on Windows Server 2012. Whatever I try however it gives me the same error:

  9. MySQL :: Alter table structure conditional adding columns if they …

    Oct 10, 2007 · At the table level, I can do a conditional creation. The sql looks like CREATE TABLE IF NOT EXISTS `item_master` ( `our_pn` varchar (20) default '', `description` varchar …

  10. MySQL :: Re: Adding TIMESTAMP Column to MySQL Table

    Nov 24, 2005 · Unfortunately, if you add a TIMESTAMP column to an existing table, MySQL doesn't populate it with any data, even if the default is CURRENT_TIMESTAMP. You …