dbo.balance_cuentas

Description

Properties

Name Value
File Collation
File Group
Filestream File Group
Is Partitioned

False

Partitioned Column
Partition Scheme
File Groups
Filestream Partition Scheme
Filestream File Groups
Heap

True

Full Text Catalog
Full Text
Compression NONE
Row Count (~) 0
Created 3/6/2025 6:55:52 PM
Last Modified 3/6/2025 6:55:57 PM

Columns

5
Key Name Data Type Length Precision Scale Not Null Identity Rule Default Computed Persisted Description
orden smallint 2 5 0

False

False

False

valor money 8 19 4

False

False

False

seccion varchar 1 0 0

False

False

False

cuenta smallint 2 5 0

True

False

False

balance int 4 10 0

True

False

False

Indexes

1
Key Name Columns Unique Type Description
PK__balance___24A29AFF09937FD8 balance, cuenta

True

Foreign Keys

2
Name Columns Description
FK__balance_c__balan__2843D2B2 balance
FK__balance_c__cuent__2937F6EB cuenta

SQL Script

Copy
CREATE TABLE dbo.balance_cuentas (
  orden smallint NULL,
  valor money NULL,
  seccion varchar(1) NULL,
  cuenta smallint NOT NULL,
  balance int NOT NULL,
  PRIMARY KEY NONCLUSTERED (balance, cuenta) WITH (FILLFACTOR = 20)
)
ON [PRIMARY]
GO

ALTER TABLE dbo.balance_cuentas
  ADD FOREIGN KEY (balance) REFERENCES dbo.balances (balance)
GO

ALTER TABLE dbo.balance_cuentas
  ADD FOREIGN KEY (cuenta) REFERENCES dbo.cuentas (cuenta)
GO

Depends On

3

Used By

No items found