Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Darkwing99
  • Content: Threads
  • Order by date
  1. Darkwing99

    Insert with ascending CURRENT TIMESTAMP

    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 ...
  2. Darkwing99

    How do I get the first free row?

    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...
  3. Darkwing99

    How to reset the harddisk "error bit"?

    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...
  4. Darkwing99

    How to switch between text and binary mode?

    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...

Part and Inventory Search

Back
Top