HFTHdfries
MIS
I need to create a table/view using the data from two columns on an existing table. I don't know whether I should create a table or view or something else altogether. Obviously, I'm very new at this. The existing table looks like:
Station_ID, integer
Station_Code, char(30)
...many other columns
I need to create a table/view that retrieves the above two columns, but chops the Station_Code field to only the first 4 characters. This table/view needs to be accessible from report-writing software like Crystal Reports and it needs to stay up-to-date when the existing/parent table is changed.
Can anyone offer some suggestions?
Station_ID, integer
Station_Code, char(30)
...many other columns
I need to create a table/view that retrieves the above two columns, but chops the Station_Code field to only the first 4 characters. This table/view needs to be accessible from report-writing software like Crystal Reports and it needs to stay up-to-date when the existing/parent table is changed.
Can anyone offer some suggestions?