Skip to Content
24x7 Support
Email: mail@example.com
Call Us +(21) 1234 5678

    • Home
    • MSSQL
      • SQL On Linux
      • T-SQL Scripts
    • Sybase ASE
      • Sybase Scripts
    • Sybase Replication
    • Sybase IQ
    • Linux
    • Search for:

    Category Archives: Sybase ASE

    1. Home  - 
    2. Archive by category "Sybase ASE"
    3. ( Page2 )
    4 Dec, 2021
    How to find tables having Image columns in Sybase database 0 (0)
    Sybase ASE Sybase Identity column, Sybase Image column, Sybase text column

    Below query can be used to get list of tables having text columns in Sybase database. here syscolumns type value "34" represents image column.

    use <DBNAME /** replace your database name here **/
    go
    select @@servername "Server", db_name() "DB", distinct
    … Read the rest

    21 Nov, 2021
    How to check identity tables in Sybase database 0 (0)
    Sybase ASE Sybase Identity column, Sybase Image column, Sybase text column

    Below query can be used to find identity tables in Sybase database.

    1select @@servername 'Server',db_name() 'DB',convert(char(35),object_name(id)) as "Table_Name", convert(char(35),name) as "Column_Name" from syscolumns where status=128
    2go

    Sample output:

    … Read the rest

    7 Nov, 2021
    Locked login list status in Sybase ASE 0 (0)
    Sybase ASE Sybase Login

    Below query can be used to check list of locked out logins in Sybase database server.

    select @@servername "Server", name,lockdate from master..syslogins where status&2=2

    Sample output:

    … Read the rest
    31 Oct, 2021
    How to get all the logins with sa_role in Sybase database 5 (1)
    Sybase ASE sa role, Sybase Login

    Below query can be used to get all the logins having sa role in Sybase database.

    select @@servername,l.name,l.fullname,u.name from syslogins as l,sysroles as r,sysloginroles as sr,sysusers as u where l.suid=sr.suid and u.uid=r.lrid and r.id=sr.srid and srid = 0

    Sample output… Read the rest

    9 Oct, 2021
    How to configure shared memory dump in Sybase ASE 0 (0)
    Sybase ASE Sybase Shared Memory Dumps

    Many a times, it happens that Sybase server goes down due to stack trace error causing downtime and business impact. In such cases, case is raised with SAP and they ask us to configure shared memory dump so that when … Read the rest

    10 Jul, 2021
    How to refresh replicated database in Sybase ASE 5 (1)
    Sybase ASE Sybase database refresh

    Suppose you have replication setup between ASE1.DB — > ASE2.DB(MSA & table level both) and you would like to refresh these 2 databases from PROD database and re-setup the replication. Below would be the high level steps to follow.

    High … Read the rest

    26 Jun, 2021
    How to identify lead blocker details in Sybase 0 (0)
    Sybase ASE Culprit blocking details in Sybase, How to identify Lead blocker in Sybase ASE, Lead blocker in Sybase

    Problem Description:

    Many a times when we are troubleshooting any performance issue and we see that there are multiple processes blocking to each other and in such cases it becomes difficult to identify which is the lead blocker causing blocking … Read the rest

    17 Aug, 2020
    How to fix Sybase Error 644 5 (3)
    Sybase ASE Sybase Error 644

    Error Description:

    Error: 644, Severity: 21, State:
    server Index row entry for data row id (1234, 0) is missing from index page 5678 of index id 3 of table 'test' in database 'TestDB'. Xactid is (123456,30). Drop and re-create … Read the rest

    15 Aug, 2020
    Sybase tempdb binding 0 (0)
    Sybase ASE #Sybase tempdb binding

    In high OLTP nature environment we have seen many times that tempdb gets full due to bad query run by the user and it affects entire server as tempb is common area for sorting user data in the database server.… Read the rest

    15 Aug, 2020
    Sybase tempdb 100% full 0 (0)
    Sybase ASE Sybase tempdb 100% full

    Error Description:

    Failed to allocate disk space for a work table in database 'tempdb'.  You may be able to free up space by using the DUMP TRANsaction command, or you may want to extend the size of the database by … Read the rest

    Posts pagination

    1 2 3
    Recent Posts
    • SQL Server: T-SQL Script to find object level permission of specific table
    • SQL Server: T-SQL Script to find object level permission of user database
    • T-SQL Script to get user with DB OWNER role in SQL Server
    • T-SQL script to list all database user access in SQL Server
    • T-SQL script to find active processes in SQL Server

    Pages

    • About Me
    • Contact
    • Disclaimer
    • Privacy Policy

    Categories

    • Linux (8)
    • MSSQL (75)
      • SQL On Linux (15)
      • T-SQL Scripts (19)
    • Sybase ASE (26)
      • Sybase Scripts (1)
    • Sybase IQ (3)
    • Sybase Replication (27)
    • Uncategorized (1)

    Archives

    Copyright © 2025 | Powered by Neom