Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Table inheritance in SQL ?

$
0
0

Is there a table inheritance in SQL ?

I need to make  two tables which are identical :

1. Recharcheable battery

2. Primery Battery

Is there a way to make a 'Battery' Table and create the 1 and 2 tables with inheritance in a way that when i change a field from smallint to int in the Battery Table , The same fields in the 1 and 2 tables will be replaced too?

(I work with SQL Server 2005)

 

thanks.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>