HI All,
I downloaded and attached AdventureWorks2012 sample DB but I am not able to understand the naming conventions and the logic in some tables. for example,
1) why table naming is like Person.Person, Person.Address, Person.BusinessEntity etc.
I guess it was aimed to group some table with some prefix group names which is quite nice and tidy. how does it work changing dbo. prefix to something else? I thought every table has to have dbo. as prefix. Does it make any trouble for tsql, sp, trigger queries? any trouble for entity framework?
2)what is Person.BusinessEntity ? there is always that BusinessEntityID in some tables as PK.
for example Person.Person table has BusinessEntityID as PK instead of PersonID? same for HumanResources.Employee, Sales.Store tables etc.
3) there is also that rowguwid in each tables. what is that used for?
Is there any tutorial? if there isnt, can someone please kindly explain those 3 at least above?
thanks.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."