Alter table in Sybase
Using alter command, we can change the structure of the table. Following changes can be done on tables: Add and Drop columns Add and Drop constraints Add null columns Change locking scheme Convert...
View ArticleGet Sybase Database Information
We can get the information about databases and its objects using sytem procedures, built-in functions and system tables. sp_helpdb reports database(s) information like...
View ArticleSybase Checkpoint Process
What is checkpoint. A check point server event which causes all of database dirty pages to be copied from cache to disk. A checkpoint exists primarily to reduce the work of server at recovery time...
View ArticleSybase IQ installation on Linux
We are going to install the Sybase IQ on Redhat Linux.SAP is providing for Sybase IQ 30 days Trial Evaluation copy. 1. Download the Sybase IQ from here 2. tar the Sybase IQ iq160_LinuxAMD64.tgz file by...
View ArticleHow to start Sybase IQ server
To start Sybase IQ Server, first we have to set the Environment variables. Then, we have to create demo database. Using start_iq, we can Sybase IQ server. Setting Environmental Variables: 1. Navigate...
View Articleddlgen tool in Sybase
Sybase ddlgen tool used to extract the creation script for any server-level or database level object. This is OS level command. Syntax: ddlgen -Ulogin -Ppassword -S[[ssl:]server | host_name :...
View ArticleRestore Master database in Sybase
Why master database? The master database controls the operation of Sybase(ASE) server and stores information about all user databases and database devices information. It stores User accounts, Remote...
View Articleisql history
What is isql? isql tool is interactive parser to ASE(Sybase). isql tool sends commands to ASE and displays the results on standard output. Syntax: isql [-b] [-e] [-F] [-n] [-p] [-v] [-W] [-X] [-Y] [-Q]...
View ArticleHow to run script in Sybase
We can create scripts and execute using isql. This is useful when you need to execute the same set of commands. Script execution Syntax: isql -Uuser_name -Ppassword -Sserver_name -iscript_name...
View ArticleHow to install sample databases in Sybase
Sybase provides three databases i.e. pubs2,pubs and pix2. These can be installed either at the time of ASE(sybase) installation or after installation. pubs2: database to test our server connections and...
View ArticleStop Sybase backup server
If we want to stop only Sybase backup server or it is best practice to stop backup server first then, ASE server. We can stop backup server using following ‘shutdown SYB_BACKUP’ 1> shutdown...
View ArticleStop Sybase server
system administrator can shut down an SAP ASE. Syntax: shutdown [srvname] [with {wait [=”hh:mm:ss”] | nowait}]] 1. If we want to shutdown gracefully. 1> shutdown 2> go Server SHUTDOWN by...
View ArticleAdd login trigger Sybase
Login triggers fire stored procedures in response to a LOGON event. This event is raised when a user session is established with an instance of SYBASE ASE server. Login triggers fire after the...
View ArticleDrop Login Trigger Sybase
Login triggers fire stored procedures in response to a LOGON event. This event is raised when a user session is established with an instance of SYBASE ASE server. Login triggers fire after the...
View ArticleDifferences between where and having clause
WHERE: Where clause is used to filter the data based on condition. Only rows that meets conditions contribute data to the result set. Filters rows Where clause is executed before group by clause. Use...
View ArticleStop and Start Sybase Replication Server
Replication Server maintains replicated data in multiple databases while ensuring the integrity and consistency of the data. It provides clients using databases in the replication system with local...
View ArticleHow to stop Sybase server forcefully
Sometimes it is required to shutdown the Sybase ASE server forcefully. This can be done with “shutdown with no wait” command. This disables the logins, does not issue checkpoint, and it terminates...
View ArticleSybase Interview Questions
How to stop Sybase(ASE) Server? 1> shutdown RUN_Servername 2> go How to stop Sybase backup server? 1> shutdown SYB_BACKUP 2> go How to start Sybase ASE server? To start the server Sybase...
View ArticleChange password in Sybase
When password needs to changed? 1. If we forgot password. 2. When password expiration level reached(If customized). By default option is set to ever expiry password. What are the prerequisites to...
View ArticleLock and Unlock user account in Sybase
What happens if account is locked? 1. User can not login. 2. If any schedule jobs with specified login. When login can be locked. 1. When maximum failed login attempts reached. 2. If password expires...
View Article