Jump to content

Recommended Posts

do you know anywhere i can find mysql acronym statements  ,

i have a lot of similar record that would record in same columns in different tables, or in same table indiffrent columns, i'm tried of typing each sentence for all !

 

for example i want update 2 tables , set "john" in the "name" field column.

something like :

update table1,table2 set name="john" where id="5"

 

that gives me name column is ambiguous .

 

what this sentence should be  ?  and where can i find all of these sentences like ?

 

Link to comment
https://forums.phpfreaks.com/topic/83463-acronym/
Share on other sites

If you get "ambiguous column name" it means you have a name column in more than one table so you need to specify  which table you mean

 

eg

 

... set table1.name = 'john' ...

 

 

As for "mysql acronym statements", never heard of those. Try Google or wikipedia

Link to comment
https://forums.phpfreaks.com/topic/83463-acronym/#findComment-424681
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.