Quantcast
Channel: Sybase – How to Guides and Knowledge Feed
Browsing index pages (26 articles)
↧

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 Article


How 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 Article


How 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 Article

Replication 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 Article

Image may be NSFW.
Clik here to view.

Create 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 Article


Difference 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 Article

Lock 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

Change 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 Article


Sybase 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 Article


How 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 Article

Stop 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 Article

Differences 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 Article

Drop 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 Article


Add 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 Article

Image may be NSFW.
Clik here to view.

Stop 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 Article


Image may be NSFW.
Clik here to view.

Stop 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


How 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 Article

isql 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 Article

Restore 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
Browsing index pages (26 articles)


Latest Images