Basic db2 commands pdf




















We can create a new schedule a job by adding an entry to the crontab file. We will discuss more about Cron and job scheduling in another post. This command will list the processes currently running on the operating system, with details like process ID, parent process ID, program which is being executed, time at which the process got executed etc.

The above command will forcefully terminate the process with process ID This command will list the available memory as well as cached memory in gigabyte format.

This command is highly useful when you are having a performance issue with the server. The resulting permission will be as follows. The file owner : read write and execute The memeber in the group of the file owner: read and execute. This command executed as root user will change the password of the user Oracle. This command is executed by the user who is already logged into the operating system and it will change the password of the user who executes the command. Your email address will not be published.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. Wysheid Team January 20, No Comments. Generic filters. The resulting permission will be as follows The file owner : read write and execute The memeber in the group of the file owner: read and execute others : read and execute 28 Changing the password of the user : passwd Example passwd oracle This command executed as root user will change the password of the user Oracle.

Wysheid Team. Liked this Article.? We have lot more interesting posts like this! Join more than subscribers who stays ahead on technology. Section 1. Querying data This section shows you how to query data from the Db2 database. Section 2. Sorting a result set ORDER BY — sort the result set in ascending or descending order based on values in a one or more columns or expressions. Section 3. AND — query rows that satisfy both predicates of the search condition. OR — query rows that satisfy either or both predicates of the search condition.

IN — check if a value matches any value in a list of literal values or a result set returned by a subquery. LIKE — check if a string contains a certain pattern. Section 4. Section 5. Aliases Alias — learn how to use column aliases to change the column heading of the query output and table aliases to improve the readability of queries. Section 6. Joining tables Join — learn the overview of Db2 joins including inner join, left join, right join and full outer join.

Db2 View This section introduces you to the Db2 view concept and shows you how to utilize views to make your database management more effectively. Db2 Trigger This section covers the Db2 triggers and shows you how to create triggers which will be executed automatically when a delete, insert, or update operation occurs on the tables. Db2 Index An index is a database structure, typically b-tree, that improves the speed of data retrieval. In this section, you will learn how to work with indexes in Db2 so that you can leverage indexes to make your queries faster and more efficient.

Db2 Aggregate Functions An aggregate function operates on a set of values and returns a single value.



0コメント

  • 1000 / 1000