对于我没有自由谈,我们为我们的SQL Server上定义2005数据库,像这样一个观点几种原因: CREATE VIEW [dbo].[MeterProvingStatisticsPoint]
AS
SELECT
CAST(0 AS BIGINT) AS 'RowNumber',
CAST(0 AS BIGINT) AS 'ProverTicketId',
CAS
我有以下看法: SELECT
poHeader.No_ AS PONumber,
poHeader.[Buy-from Vendor No_] AS VendorNumber,
poHeader.[Document Date] AS DocumentDate,
vendor.Name AS VendorName,
vendor.Contact AS VendorContact,
ve
我想在SQL Server中创建一个视图,该视图组合了多个数据库元数据。元数据的 其中的一块,我想在sys.syscomments表生活 - 在培训相关列如下: id colid text
---- ------ -------------
1001 1 A comment.
1002 1 This is a lo
1002 2 ng comment.
1003 1 This i
我有一个具有以下关系数据库: Transaction->Purchase->Item->Schedule
Transaction - self explanitory
Purchase - any purchase info that relates to the item being purchased (quantity, if the user purchases more than