Tables [dbo].[ToolNamesLocalized]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count21
Created12:44:47 PM Thursday, October 04, 2007
Last Modified12:44:47 PM Thursday, October 04, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key pk_toolnamelocal: toolID\localizationIDForeign Keys fk_toolnamelocal_tool: [dbo].[Tools].toolIDtoolIDint4
No
Cluster Primary Key pk_toolnamelocal: toolID\localizationIDForeign Keys fk_toolnamelocal_local: [dbo].[Localizations].localizationIDlocalizationIDint4
No
namenvarchar(200)400
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_toolnamelocal: toolID\localizationIDpk_toolnamelocaltoolID, localizationID
Yes
Foreign Keys Foreign Keys
NameColumns
fk_toolnamelocal_locallocalizationID->[dbo].[Localizations].[localizationID]
fk_toolnamelocal_tooltoolID->[dbo].[Tools].[toolID]
SQL Script
CREATE TABLE [dbo].[ToolNamesLocalized]
(
[toolID] [int] NOT NULL,
[localizationID] [int] NOT NULL,
[name] [nvarchar] (200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ToolNamesLocalized] ADD CONSTRAINT [pk_toolnamelocal] PRIMARY KEY CLUSTERED ([toolID], [localizationID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ToolNamesLocalized] ADD CONSTRAINT [fk_toolnamelocal_local] FOREIGN KEY ([localizationID]) REFERENCES [dbo].[Localizations] ([localizationID])
GO
ALTER TABLE [dbo].[ToolNamesLocalized] ADD CONSTRAINT [fk_toolnamelocal_tool] FOREIGN KEY ([toolID]) REFERENCES [dbo].[Tools] ([toolID])
GO
Uses