Re: Change the display text format
From: Dan Guzman (guzmanda_at_nospam-online.sbcglobal.net)
Date: 09/01/04
- Next message: payyans: "master.dbo.xp_fixeddrives"
- Previous message: Devil Garfield: "Change the display text format"
- In reply to: Devil Garfield: "Change the display text format"
- Next in thread: Devil Garfield: "Re: Change the display text format"
- Reply: Devil Garfield: "Re: Change the display text format"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 31 Aug 2004 21:11:30 -0500
Formatting column headers and data for display purposes is a task best
handled in the front-end application rather than Transact-SQL. The details
of the solution depend on the language you are using and the format of the
output (i.e. console, html, listview control, etc.).
-- Hope this helps. Dan Guzman SQL Server MVP "Devil Garfield" <DevilGarfield@discussions.microsoft.com> wrote in message news:AB133A84-36D0-4A5E-AA36-15B0510F0071@microsoft.com... > Dear expert, > > I create a view as below: > > Code: > Select Studn as NAME, Studs as SEX, Studca as [CHINESE ADDRESS], Studea as > [ENGLISH ADDRESS] FROM Student_Record > : > : > > Screen Output: > NAME SEX CHINESE ADDRESS ENGLISH ADDRESS > ------- ---- --------------------- ---------------------- > > If I want to modified the Screen output as below: > NAME SEX CHINESE ENGLISH > ADDRESS ADDRESS > ------- ---- ----------- ------------ > > How can I modify the code in order to get this output ??? > > Thanks very much for all of your concern. >
- Next message: payyans: "master.dbo.xp_fixeddrives"
- Previous message: Devil Garfield: "Change the display text format"
- In reply to: Devil Garfield: "Change the display text format"
- Next in thread: Devil Garfield: "Re: Change the display text format"
- Reply: Devil Garfield: "Re: Change the display text format"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|