sql server - insert column to table which shares a key with another table -
I'm not sure what I'm using to get the right function. I have a code so far:
Enter in the property (owner) (Choose a user name as DOYEVANT from DOEERTTI. On Dbo.ASSETS b.exxt = b.Ext) I have a table with the property (dbo.assets) in which one column (ext) is with the number of phone extensions that is attached to the property in another table (dbo.directory) I have a column in which the phone extension associated with the person name on that extension (username) ST) number.
What I want to do is to insert the user's name into the dyb.satet the person connected to the phone extension under a new column: the owner must match the username ext name, instead of merge it instead Should use?
You are not to mention which RDMS you are using anyhow before you If you need to add columns to the table, you will update the column price to set the row price. Looks like this in SQL Server.
Add the owner of the Alter table property to VARCHAR (20) Tap one set a.owner = b.username property includes an internal directory B. a.ext on B.ext < / Pre>
Comments
Post a Comment