Sybase ADDICT

Sybase tips, howto and technical informations – All in a blog !
  • Home
  • Sybase Downloads
  • Sybase Related Links
  • Sybase Jobs


  
  • Find out the Sybase ASE dataserver’s page size

    January 7th, 2009 @ 1:18 AM by Jean-Francois LEBON | Be the 1st to comment

    Find out the dataserver’s page size without using global variables like @@pagesize or @@maxpagesize.

    When you work with heterogeneous versions of Sybase Ase (12.0.x and 12.5.x or 15.x), this query can help you while coding your dba stored procedures…

    declare @page_size int
    select  @page_size = low /1024 from master.dbo.spt_values
    where type = 'E' and number = 1
    go

    It will produce the result in Kb. This works with Sybase ASE from version 11.x to 15.x.


    Tags: ase, howto, sql, sybase, Sybase Adaptive Server Enterprise, tips, transact-sql

    Bookmark this on Delicious
    Digg This
    Reddit This
    Bookmark this on Technorati
    Share on Facebook
    Buzz This
    Stumble Now!
    Share on LinkedIn
    Post on Twitter
  • Previous post
    Next post
  • No Comments »

    No comments yet.

    RSS feed for comments. TrackBack URL

    Something to say ? Leave a comment...

    You must be logged in to post a comment.

Categories:

  • Review
  • Sybase Adaptive Server Enterprise
  • Sybase Adaptive Server IQ
  • Sybase Articles
  • Sybase HowTo
  • Sybase News
    • End of Life Notice
    • General News
  • Sybase Replication Server
  • Sybase Tips & Tricks
  • Sybase Transact-SQL Code
  • Videos/Podcasts/Webcasts

Quick Links:

  • Sybase quick refence
  • Sybase Bookmarks
  • Sybase Team Forums
  • Sybase Inc
  • International Sybase User Group
  • CodeXchange
  • SQL Anywhere question and answer
  • Sybase Jobs [US]

Archives:

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • September 2009
  • July 2009
  • May 2009
  • April 2009
  • January 2009
  • December 2008
  • October 2008
  • September 2008
  • May 2008

Sybase ADDICT:

  • Register
  • Log in
  • RSS Feed

See my Resume:

  • View Jean-Francois LEBON's profile on LinkedIn

Calendar:

    January 2009
    M T W T F S S
    « Dec   Apr »
     1234
    567891011
    12131415161718
    19202122232425
    262728293031  
© Sybase-ADDICT.com - All Rights Reserved. Entries RSS Comments RSS Login sybase addict