Hi all..that's my problem and i really hope some of you can help me.
I have to create a view selecting all fields from a table; plus, i'd like to insert an addictional column defined as an identity (or a random numeric value) so that i can create a sort of unique field for that view.
To explain better, I'd need something like:
but, instead of getdate() function, I'd need a function that insert unique numeric values (random or sequential indifferently)
Has any of you an idea?
Thank you in advance, bye
David
I have to create a view selecting all fields from a table; plus, i'd like to insert an addictional column defined as an identity (or a random numeric value) so that i can create a sort of unique field for that view.
To explain better, I'd need something like:
Code:
select *, getdate() from table
Has any of you an idea?
Thank you in advance, bye
David