ASE

1.1: Basic ASE Administration

1.1.1    What is SQL Server and ASE anyway?
1.1.2    How do I start/stop ASE when the CPU reboots?
1.1.3    How do I move tempdb off of the master device?
1.1.4    How do I correct timeslice -201?
1.1.5    The how's and why's on becoming Certified.
1.1.6    RAID and Sybase
1.1.7    How to swap a db device with another
1.1.8    Server naming and renaming
1.1.9    How do I interpret the tli strings in the interface file?
1.1.10  How can I tell the datetime my Server started?
1.1.11  Raw partitions or regular files?
1.1.12  Is Sybase Y2K (Y2000) compliant?
1.1.13  How can I run the ASE upgrade manually?
1.1.14  We have lost the sa password, what can we do?
1.1.15  How do I set a password to be null?
1.1.16  Does Sybase support Row Level Locking?
1.1.17  What platforms does ASE run on?

1.2: User Database Administration

1.2.1    Changing varchar(m) to varchar(n)
1.2.2    Frequently asked questions on Table partitioning
1.2.3    How do I manually drop a table?
1.2.4    Why not create all my columns varchar(255)?
1.2.5    What's a good example of a transaction?
1.2.6    What's a natural key?
1.2.7    Making a Stored Procedure invisible
1.2.8    Saving space when inserting rows monotonically
1.2.9    How to compute database fragmentation
1.2.10  Tasks a DBA should do...
1.2.11  How to implement database security
1.2.12  How to shrink a database
1.2.13  How do I turn on auditing of all SQL text sent to the server
1.2.14  sp_helpdb/sp_helpsegment is returning negative numbers

1.3: Advanced ASE Administration

1.3.1. How do I clear a log suspend'd connection?
1.3.2. What's the best value for cschedspins?
1.3.3. What traceflags are available?
1.3.4. How do I use traceflags 5101 and 5102?
1.3.5. What is cmaxpktsz good for?
1.3.6. What do all the parameters of a buildmaster -d<device> -yall mean?
1.3.7. What is CIS and how do I use it?
1.3.8. If the master device is full how do I make the master database bigger?

1.4: General Troubleshooting

  1. How do I turn off marked suspect on my database?
  2. On startup, the transaction log of a database has filled and recovery has suspended, what can I do?
  3. Why do my page locks not get escalated to a table lock after 200 locks?

2.1: Platform Specific Issues - Solaris

2.1.1    Should I run 32 or 64 bit ASE with Solaris?
2.1.2    What is Intimate Shared Memory or ISM?

2.2: Platform Specific Issues - NT

2.2.1    How to Start ASE on Remote NT Servers
2.2.2    How to Configure More than 2G bytes of Memory for ASE on NT

3: DBCC's

3.1    How do I set TS Role in order to run certain DBCCs...?
3.2    What are some of the hidden/trick DBCC commands?
3.3    Other sites with DBCC information.
3.4    Fixing a Munged Log

Performing any of the above may corrupt your ASE installation. Please do not call Sybase Technical Support after screwing up ASE. Remember, always take a dump of the master database and any other databases that are to be affected.

4: isql

4.1    How do I hide my password using isql?
4.2    How do I remove row affected and/or dashes when using isql?
4.3    How do I pipe the output of one isql to another?
4.4    What alternatives to isql exist?

5: bcp

5.1    How do I bcp null dates?
5.2    Can I use a named pipe to bcp/dump data out or in?
5.3    How do I exclude a column?

6.1: SQL Fundamentals

6.1.1    Are there alternatives to row at a time processing?
6.1.2    When should I execute an sp_recompile?
6.1.3    What are the different types of locks and what do they mean?
6.1.4    What's the purpose of using holdlock?
6.1.5    What's the difference between an update in place versus a deferred update? - see Q1.5.9
6.1.6    How do I find the oldest open transaction?
6.1.7    How do I check if log truncation is blocked?  
6.1.8    The timestamp datatype
6.1.9    Stored Procedure Recompilation and Reresolution
6.1.10   How do I manipulate binary columns?
6.1.11   How do I remove duplicate rows from a table?

6.2: SQL Advanced

6.2.1    How to emulate the Oracle decode function/crosstab
6.2.2    How to implement if-then-else within a select-clause.
6.2.3    deleted due to copyright hassles with the publisher
6.2.4    How to pad with leading zeros an int or smallint.
6.2.5    Divide by zero and nulls.
6.2.6    Convert months to financial months.
6.2.7    Hierarchy traversal - BOMs.
6.2.8    Is it possible to call a UNIX command from within a stored procedure or a trigger?
6.2.9    Information on Identities and Rolling your own Sequential Keys
6.2.10  How can I execute dynamic SQL with ASE
6.2.11  Is it possible to concatenate all the values from a column and return a single row?
6.2.12  Selecting rows N to M without Oracle's rownum?
6.2.13  How can I return number of rows that are returned from a grouped query without using a temporary table?

6.3: Useful SQL Tricks

6.3.1    How to feed the result set of one stored procedure into another.
6.3.2    Is it possible to do dynamic SQL before ASE 12?

7: Open Client

7.1    What is Open Client?
7.2    What is the difference between DB-lib and CT-lib?
7.3    What is this TDS protocol?
7.4    I have upgraded to MS SQL Server 7.0 and can no longer connect from Sybase's isql.
7.5    The Basics of Connecting to Sybase
7.6    Connecting to ASE using ODBC
7.7    Which version of Open Client works with which ASE?
7.8    How do I tell the version of Open Client I am running?

9: Freeware

9.0      Where is all the code and why does Section 9 suddenly load in a reasonable amount of time?

Stored Procedures

9.1.1      sp_freedevice - lists device, size, used and free.
9.1.2      sp_dos - This procedure graphically displays the scope of a object
9.1.3      sp_whodo - augments sp_who by including additional columns: cpu, I/O...
9.1.4      sp__revroles - creates DDL to sp_role a mirror of your SQL Server
9.1.5      sp__rev_configure - creates DDL to sp_configure a mirror of your SQL Server
9.1.6      sp_servermap - overview of your SQL Server
9.1.7      sp__create_crosstab - simplify crosstable queries
9.1.8      sp_ddl_create_table - creates DDL for all user tables in the current database
9.1.9      sp_spaceused_table
9.1.10    SQL to determine the space used for an index.
9.1.11    sp_helpoptions - Shows what options are set for a database.
9.1.12    sp_days - returns days in current month.
9.1.13    sp__optdiag - optdiag from within isql
9.1.14    sp_desc - a simple list of a tables' columns
9.1.15    sp_lockconfig - Displays locking schemes for tables.

Shell Scripts

9.2.1      SQL and sh(1)to dynamically generate a dump/load database command.
9.2.2      update statistics script

Perl/Sybperl

9.3.1      SybPerl - Perl interface to Sybase.
9.3.2      dbschema.pl - Sybperl script to reverse engineer a database.
9.3.3      ddl_insert.pl - creates insert DDL for a table.
9.3.4      int.pl - converts

12: Miscellany

12.1    What can Sybase IQ do for me?
12.2    Net-review of Sybase books
12.3    email lists
12.4    Finding Information at Sybase

ASA

Adaptive Server Anywhere

0.0    Preamble
0.1    What is ASA?
0.2    On what platforms is ASA supported?
0.3    What applications is ASA good for?
0.4    When would I choose ASA over ASE?
0.5    Does ASA Support Replication?
0.6    What is ASA UltraLite?
0.7    Links for further information

REP

Introduction to Replication Server

1.1    Introduction
1.2    Replication Server Components
1.3    What is the Difference Between SQL Remote and Replication Server?

Replication Server Administration

2.1    How can I improve throughput?
2.2    Where should I install replication server?
2.3    Using large raw partitions with Replication Server on Unix.
2.4    How to replicate col = col + 1
2.5    What is the difference between an LTMs an a RepAgent?
2.6    Which Should I choose, RepAgent or LTM?

Replication Server Trouble Shooting

3.1    Why am I running out of locks on the replicate side?
3.2    Someone was playing with replication and now the transaction log on OLTP is filling.

Additional Information/Links

 

4.1    Links
4.2    Newsgroups