• HannieHannie
  • December 10, 2017
  • 0 Comments
Oracle Notes

-> Its relational database management system used in enterprise applications. -> Its biggest competitor is Microsoft SQL Server. -> Runs on Windows,Unix,Linux and Mac Operating systems. Limitations: -> A table…

  • HannieHannie
  • November 29, 2017
  • 0 Comments
Postgresql Basics

Create Database: -> A database is a named collection of SQL objects (“database objects”). Generally, every database object (tables, functions, etc.) belongs to one and only one database. -> The…

  • HannieHannie
  • November 28, 2017
  • 0 Comments
Roles in Postgresql

-> A role can be thought of as either a database user, or a group of database users, depending on how the role is set up. -> Roles can own…

  • HannieHannie
  • November 28, 2017
  • 0 Comments
Useful Linux Commands

To list all the users: cmd:cat /etc/passwd To delete the user in linux: -> we can able to delete the users from ther root user or sudo user. cmd:deluser user_name…

  • HannieHannie
  • November 27, 2017
  • 0 Comments
Rename Table in Postgresql

-> To rename already existing table Syntax: ALTER TABLE table_name RENAME to new_table_name; Eg: Alter table attribute rename to attribute1; -> To rename a column in table ALTER TABLE attribute…

  • HannieHannie
  • November 26, 2017
  • 0 Comments
Case in postgresql

-> If we want to retrun boolean value from the query or more than one result based on the condition then we can use case in postgresql. We can use…

  • HannieHannie
  • November 26, 2017
  • 0 Comments
Truncate Table Locks

-> To truncate the instance table locks i.e. when one user locked the object and the user wants to lock the same object then dead lock condition occurs. At that…