Hi experts,
I have to fill rows into a database with an insert-statement.
The problem is the primary (unique) key. The column is named TS_INSERT and it should be the TS, when the row was inserted.
But when I write:
INSERT INTO table1
SELECT CURRENT TIMESTAMP
, var2
, var3
...
I have a table where COL1 is an increasing number starting with 1.
Rows can be deleted.
Now I need a SELECT-statement to get the first unused number within a given range.
Example:
COL1
1
2
3
4
6
8
12
13
14
I neet the first free number between 10 and 20.
The result has to be 10.
How can I...
Hi,
first the things I already know:
Windows checks at startup the "hard disk error bit" and the "clean shutdown bit". If any of them is set to ZERO, Windows performs a SCANDISK.
You can find Infos about the bits here:http://annamaria.net/tools/scandisk.htm
(the article is...
Hello,
I have a "binary" dataset on an z/OS-system where I have to put some LineFeeds at special positions.
If I open the output-dataset in "binary"-mode (e.g. "wb") the '\n' will not be a real LineFeed and if I open it in "text"-mode all HEX'15' of my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.