Subject: Sybase FAQ: 1/8 - index
Supersedes: <FAQ.index_828160081@sgi.com>
Date: 1 Apr 1996 07:00:04 GMT
Summary: Info about SQL Server, bcp, isql and other goodies
Posting-Frequency: monthly

URL: http://reality.sgi.com/pablo/Sybase_FAQ



                              SYBASE FAQ INDEX
                                       
   [LINK] _version 2.3_
     _________________________________________________________________
   
  Keyword and Phrase Search
  
   Enter search words/phrases: ____________________ ___ Ignore case?
   Help!
   
     _________________________________________________________________
   
  Index of Sections
     * Section 0: Acknowledgements
     * Section 1: SQL Server, isql and bcp
     * Section 2: SQL Hacks/Tricks
     * Section 3: Performance and Tuning
     * Section 4: Contributed Software
     * Section 5: Sybase Technical News
     * Section 6: Web Links
     * Section 7: Miscellany
       
   
     _________________________________________________________________
   
   To get a text version of this FAQ:
   
     ftp://sgigate.sgi.com/pub/Sybase_FAQ/FAQ_txt.Z [301K]
     
   To get the HTML for this FAQ:
   
     ftp://sgigate.sgi.com/pub/Sybase_FAQ/FAQ_html.tar.Z [342K]
     
   
     _________________________________________________________________
   
   
   
  SQL Server, isql and bcp
  
   1.1) Are there alternatives to row at a time processing?
   1.2) How do I start/stop SQL Server when the CPU reboots?
   1.3) What's a natural key?
   1.4) What traceflags are available?
   1.5) How do I use traceflags 5101 and 5102?
   1.6) Is it possible to call a UNIX command from within a stored
   procedure or a trigger?
   1.7) How do I move tempdb off of the master device?
   1.8) How do I hide my password using isql?
   1.9) How do I remove row affected and/or ---- when using isql?
   1.10) Why not create all my columns varchar(255)?
   1.11) What is a SQL Server anyway?
   1.12) How do I bcp null dates?
   1.13) What's the best value for cschedspins?
   1.14) When should I execute an sp_recompile?
   1.15) What are the different types of locks and what do they mean?
   1.16) What's the purpose of using holdlock?
   1.17) What's the difference between an _update in place_ versus a
   _deferred update_? - see Q3.9
   1.18) Can I use a named pipe to bcp/dump data out or in?
   1.19) What's a good example of a transaction?
   1.20) What do all the parameters of a a buildmaster -d -yall mean?
   1.21) What are some of the hidden/trick DBCC commands?
   1.22) How do I set TS Role in order to run DBCC ...?
   1.23) How do I clear a log suspend'ed connection?
   1.24) How do I manually drop a table?
   1.25) How do I correct timeslice -201?
   1.26) How do I pipe the output of one isql to another?
   1.27) How do I turn off marked suspect on my database?
   1.28) The how's and why's on becoming a Certified Sybase Professional
   (CSPDBA)?
   1.29) What is cmaxpktsz good for? see also Q1.20
   
     _________________________________________________________________
   
   
   
  SQL Hacks/Tricks
  
   2.1) Point Characteristic Functions.
   2.2) How to implement if-then-else within a select-clause.
   2.3) How to invert/pivot a table (also known as the Oracle decode
   function).
   2.4) How to pad with leading zeros an int or smallint.
   
     _________________________________________________________________
   
   
   
  Performance and Tuning
  
   3.1) What are the nitty gritty details on Performance and Tuning?
   3.2) What is best way to use temp tables in an OLTP environment?
   3.3) What's the difference between clustered and non-clustered
   indexes?
   3.4) Optimistic versus Pessimistic locking?
   3.5) How do I force an index to be used?
   3.6) Why place tempdb and log on low numbered devices? 
   3.7) Have I configured enough memory for my SQL Server?
   3.8) Why should I use stored procedures?
   3.9) I don't understand showplan's output, please explain.
   
     _________________________________________________________________
   
   
   
  Contributed Software
  
   4.1) sp_freedevice - lists device, size, used and free.
   4.2) sp_whodo - augments sp_who by including additional columns: cpu,
   I/O...
   4.3) SQL and sh(1)to dynamically generate a dump/load database
   command.
   4.4) SybPerl - Perl interface to Sybase.
   4.5) dbschema.pl - SybPerl script to take a logical snap of a
   database.
   4.6) Sybtcl - TCL interface to Sybase.
   4.7) Augmented system stored procedures.
   4.8) Examples of Open Client and Open Server programs -- see Q6.11.
   4.9) SQL to determine the space used for an index.
   4.10) dsql - an isql alternative with command history - see Q4.13.
   4.11) xsybmon - an X interface to sp_monitor
   4.12) sp_dos - This procedure graphically displays the scope of a
   object
   4.13) sqsh - a superset of dsql with local variables, redirection,
   pipes and all sorts of goodies.
   
     _________________________________________________________________
   
   
   
  Sybase Technical News
  
   5.1) Volume 3, Number 2
   5.2) Volume 3, Number 3
   5.3) Volume 4, Number 1
   5.4) Volume 4, Number 2
   5.5) Volume 4, Number 3
   5.6) Volume 4, Number 4
   5.7) Volume 5, Number 1
   5.8) Special Supplement -- Migration to System 11
   
     _________________________________________________________________
   
   
   
  Web Links
  
   6.1) http://sybase.pnl.gov:2080/Sybase/.Sybase.html
   6.2) http://paella.med.yale.edu/topics/database.html
   6.3) http://www.acs.ncsu.edu:80/Sybase
   6.4) http://www.alaska.net/~pacrim/sybase.html
   6.5) Sybase's Replication Server link.
   6.6) Sybase's third-party Applications
   6.7) Sybase's Online Books - sybooks
   6.8) Sybase's third-party bibliography
   6.9) Sybase's White Papers
   6.10) Sybase's Performance Tips
   6.11) Sybase's Open Client, Open Server and other examples
   6.12) http://www.tiac.net/users/sqltech
   
   The mother ship may be reached at http://www.sybase.com
     _________________________________________________________________
   
   
   
  Miscellany
  
   7.1) What can Sybase IQ do for me?
   7.2) Net-review of Sybase books
   
     _________________________________________________________________
   
   
   
    Acknowledgements
    
   Thanks to all the folks in comp.database.sybase who have made this FAQ
   possible. Searching through the archives I found a lot of stuff that
   folks posted to the net, things that were sent to me and things that
   I've come up with. I decided not to give any one particular person
   credit. For instance, the _Net Book Review_ was originally written by
   a kind netter and given to me. Someone else added to it and I'm sure
   that it'll continue to evolve. Rather than having a maintenance
   headache of attributing who did what, let's just say that the FAQ is
   _ours_. Not mine but yours. Deal?
   
   Corny as it may sound, I really enjoy _our_ news group because of the
   low noise to signal ratio and how polite we tend to be with one
   another.
   
   Please mail pablo@sgi.com any changes, comments, complaints and/or
   disagreements and I will respond in due time. Heck I may even fix
   them.
   
   Please abide by the following and include it if redistributed:
   
     Do not use this information for profit but _do_ share it with
     anyone.
     
   
   
   So who is this guy? [INLINE]
-- 
Pablo Sanchez              | Ph # (415) 933.3812        Fax # (415) 933.2821
pablo@sgi.com              | Pg # (800) 930.5635  -or-  pablo_p@corp.sgi.com
===============================================================================
I am accountable for my actions.   http://reality.sgi.com/pablo [ /Sybase_FAQ ]
