Connecting Tech Pros Worldwide Forums | Help | Site Map

insert into view help

Member
 
Join Date: Jan 2009
Location: USA
Posts: 118
#1: Aug 31 '09
trying to insert data into view but im getting the run around.

i would like to do this because its less threads directly to the table.

could you give me an example please.

I've followed the guidelines from mysql but im stuck. their are no defaults except ( auto inc) and i've included all rows from the table.

heres the view code
Expand|Select|Wrap|Line Numbers
  1. create or replace algorithm=merge definer=`user`@`localhost` sql security definer view `test`.`Domain` as select
  2. 'test'.'name'.'id' as id,
  3. aes_encrypt(`test`.`name`.`name`,'key') AS `Name`,
  4. `test`.`name`.`date` AS `Date` 
  5. from `test`.`domains`;
  6.  
thanks in advance for your help.

Reply