The maximum number of configured devices has already been reached
Following error recieved when tried to create raw device in the server. disk init name=’data43′, physname=’/data/devices/sb_device_data43′, size=’40000M’ Msg 5162, Level16, State1: Server...
View ArticleHow to rename database in Sybase
stored procedure sp_renamedb is used to change the user database. sp_renamedb dbname, new_name Where dbname is existing database name. new_name is the new database name. Before you rename the database,...
View ArticleHow to add login script in Sybase
What is login script? Login script is stored procedure to run automatically when user logs in. How to add login script in Sybase: We can add login script using stored procedure sp_modifylogin. 1....
View ArticleReplication Basic Commands in Sybase
admin who_is_down:it shows which servers are down admin who_is_up : it shows which servers are up admin who:shows all running process admin rssd_name:shows the rep_server securityname admin log_name:...
View ArticleCreate Role and assign permissions in Sybase
Roles are collections of privileges that allow the role user to perform their jobs. Roles can be created and granted to users, login profiles, or other roles by a system security officer. There are 16...
View ArticleDifference between delete and truncate
Delete: Whenever we are using delete from tablename, then automatically deleted data internally stored in buffer. We can get it back by using rollback command. Truncate: When ever we are using truncate...
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 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 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 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 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 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 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 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 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 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 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 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 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 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 Article