Re: what comes after z ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Adam Machanic (amachanic_at_hotmail._removetoemail_.com)
Date: 06/10/04


Date: Thu, 10 Jun 2004 10:13:59 -0400

You can try this, even though I'm not an MVP:

select top 256 identity(int, 1, 1) as anint
into #nums
from pubs..authors a, pubs..authors b

select char(anint)
from #nums
order by 1

"colin" <colin@discussions.microsoft.com> wrote in message
news:620B2C9C-8F02-4E57-ABCE-0DE316A1936B@microsoft.com...
> [ doesn't sort after Z, must be the collation, it's not plain ascii, i
wish. can an MVP please answer this, it's important to my app.
>
> thanks!
>
> "Adam Machanic" wrote:
>
> > SELECT CHAR(ASCII('Z') + 1)
> >
> >
> > "colin" <colin@discussions.microsoft.com> wrote in message
> > news:D17E4C7F-B243-4868-96E0-3B361343371C@microsoft.com...
> > > hi,
> > >
> > > i'm storing temp records using þ as the first char to make sure they
are
> > sorted after z (the non temp ones). but i just found out it comes before
th
> > (thorn i suppose). I'm using the collation sql_latin1_general_cp1_ci_as.
so
> > what char is after z-Z? i hope i dont have to change the collation.
> > >
> > > tia
> > >
> > >
> >
> >
> >



Relevant Pages

  • Re: Forms Creation Question
    ... Set Form2 as active form ... However, you better watch out when you switch between forms, ... MVP - Windows CE.NET, MCSD.NET, .NETcf consultant ... >> I show tons of instances of my app opened, only because a bunch of forms ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: VC++6 About Box Cancel Button
    ... > building a dialog-based app and used it for something ... > else, you must create an OnClicked handler for it, and this handler must call ... > Resources tab and expanded the resources, or are you editing the .rc file directly. ... > on my MVP Tips site). ...
    (microsoft.public.vc.mfc)
  • Re: Message Compiler
    ... you need to store in the event log. ... >>messages your app can produce? ... >> I can certainly believe in a small number of prototypes with variable text. ... Joseph M. Newcomer [MVP] ...
    (microsoft.public.vc.mfc)
  • Re: How to force a file load?
    ... > Overall,you should probably not have considered SDI as an approach to this ... >>Describe something more about your app. ... >>>I have an app I've wrritten in MFC which loads I2C EEProms through a USB ... >>MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: How to force a file load?
    ... >> SDI, if you attempt to open the same file, the MFC framework discovers the ... >I mentioned many times that I am opening a CFile! ... >>>it is a SDI app which I use to program EEProms on remote devices. ... >> MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)