Using SELECT INTO to create an on-the-fly IDENTITY Column
Here is a nifty way to add an IDENTITY column on the fly...
select
distinct
id
=IDENTITY (int, 1,1),
usr
into
dim_usr
from
fact_eyeballs
Questo browser non è più supportato.
Esegui l'aggiornamento a Microsoft Edge per sfruttare i vantaggi di funzionalità più recenti, aggiornamenti della sicurezza e supporto tecnico.
Here is a nifty way to add an IDENTITY column on the fly...
select
distinct
id
=IDENTITY (int, 1,1),
usr
into
dim_usr
from
fact_eyeballs