Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Er diagram links #347

Merged
merged 5 commits into from
Apr 9, 2022
Merged

Er diagram links #347

merged 5 commits into from
Apr 9, 2022

Conversation

YauhenPylAurea
Copy link
Contributor

Continuation of #340

Links to diagrams should be also escaped to avoid the following view:


Orders Qry

Description

Table Definition
create view "Orders Qry" AS
SELECT Orders.OrderID, Orders.CustomerID, Orders.EmployeeID, Orders.OrderDate, Orders.RequiredDate, 
	Orders.ShippedDate, Orders.ShipVia, Orders.Freight, Orders.ShipName, Orders.ShipAddress, Orders.ShipCity, 
	Orders.ShipRegion, Orders.ShipPostalCode, Orders.ShipCountry, 
	Customers.CompanyName, Customers.Address, Customers.City, Customers.Region, Customers.PostalCode, Customers.Country
FROM Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID

Referenced Tables

Columns

Name Type Default Nullable
OrderID int false
CustomerID nchar true
EmployeeID int true
OrderDate datetime true
RequiredDate datetime true
ShippedDate datetime true
ShipVia int true
Freight money true
ShipName nvarchar(40) true
ShipAddress nvarchar(60) true
ShipCity nvarchar(15) true
ShipRegion nvarchar(15) true
ShipPostalCode nvarchar(10) true
ShipCountry nvarchar(15) true
CompanyName nvarchar(40) false
Address nvarchar(60) true
City nvarchar(15) true
Region nvarchar(15) true
PostalCode nvarchar(10) true
Country nvarchar(15) true

Relations

![er](Orders Qry.svg)

Copy link
Owner

@k1LoW k1LoW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank You!!!

@k1LoW k1LoW merged commit 87a9662 into k1LoW:main Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants