×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Can you use the default clause: "default current_timestamp" for the column in the create table (or alter table).
The database populates the field automatically on an insert.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jay Vaughn
Sent: Friday, October 13, 2023 5:41 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Create view or remove hidden on column
Have a situation where we like to put hidden keyword on our add_timestamp column in our tables so that the developers do not have to enter the timestamp on an insert.
We would like to use externally defined dynamic data structure in the insert statement to prevent having to key all the from column names in the statement. But we can t with the hidden keyword.
It s not a 1-1 relationship.
Should we
1) remove the hidden keyword from the add_timestamp in the table and use the externally described DS (manually populating the add_timestamp just before the insert.
2) utilize a DS that s generated for us (via a tool) in the program without the timestamp in it, and insert via a view?
I have my preference but curious what others would do.
Jay
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.