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:

    Monthly Archives: November 2021

    1. Home  - 2021  - 
    2. November
    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

    13 Nov, 2021
    T-SQL query to get tables without primary key in SQL Server 0 (0)
    MSSQL SQL Server on Linux, SQL Server primary table

    Below query can be used to get list of tables without having primary key in SQL Server.

    use DBNAME /** replace your database name here **/
    go
    select s.[name] + N'.' + t.[name] [Table]
    from sys.tables t
    inner join sys.schemas … 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
    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