Click here to Skip to main content
15,921,212 members
Home / Discussions / Database
   

Database

 
QuestionAbout cursor in sqlserver 2000 Pin
yazan_zahi11-Sep-06 22:57
yazan_zahi11-Sep-06 22:57 
AnswerRe: About cursor in sqlserver 2000 Pin
Marek Grzenkowicz12-Sep-06 0:14
Marek Grzenkowicz12-Sep-06 0:14 
GeneralRe: About cursor in sqlserver 2000 Pin
Amit Kumar G12-Sep-06 16:23
Amit Kumar G12-Sep-06 16:23 
GeneralRe: Can I use Dynamic SQL in While Loop Pin
gopisant15-Apr-09 20:11
gopisant15-Apr-09 20:11 
Questionfetch data from table Pin
senthilmca11-Sep-06 19:21
senthilmca11-Sep-06 19:21 
AnswerRe: fetch data from table Pin
_AK_11-Sep-06 19:26
_AK_11-Sep-06 19:26 
AnswerRe: fetch data from table Pin
Amit Kumar G12-Sep-06 16:24
Amit Kumar G12-Sep-06 16:24 
QuestionProblem with SQL 2005 Express: View Sorting Order Pin
nguyenvhn11-Sep-06 18:38
nguyenvhn11-Sep-06 18:38 
Hello everybody

I have a problem with SQL Server 2005 Express. Here are description:

In a database, there is a table, name TEST with three columns: a(int), b(int), c(char).
I created a view as the following:
<br />
CREATE VIEW [dbo].[view_test]<br />
AS<br />
SELECT     TOP (100) PERCENT A, B, C<br />
FROM         dbo.Test<br />
ORDER BY A, B<br />


Clearly, I want the result set ordered by column A and B.
Then I executed the folowing query:
<br />
SELECT * FROM view_test<br />


But the result is not sorted.
In SQL Server 2000, the problem does not happend.

Is there any comment?

Thanks so much.
AnswerRe: Problem with SQL 2005 Express: View Sorting Order Pin
Farhan Noor Qureshi11-Sep-06 18:57
Farhan Noor Qureshi11-Sep-06 18:57 
AnswerRe: Problem with SQL 2005 Express: View Sorting Order Pin
Eric Dahlvang12-Sep-06 3:25
Eric Dahlvang12-Sep-06 3:25 
QuestionSQL SERVER Pin
lakshmi_sri11-Sep-06 18:08
lakshmi_sri11-Sep-06 18:08 
AnswerRe: SQL SERVER Pin
Farhan Noor Qureshi11-Sep-06 18:57
Farhan Noor Qureshi11-Sep-06 18:57 
AnswerRe: SQL SERVER Pin
Colin Angus Mackay11-Sep-06 22:44
Colin Angus Mackay11-Sep-06 22:44 
QuestionHow to define a null-ignoring unique constraint Pin
supercali11-Sep-06 15:41
supercali11-Sep-06 15:41 
AnswerRe: How to define a null-ignoring unique constraint Pin
Farhan Noor Qureshi11-Sep-06 18:59
Farhan Noor Qureshi11-Sep-06 18:59 
GeneralRe: How to define a null-ignoring unique constraint Pin
supercali12-Sep-06 4:16
supercali12-Sep-06 4:16 
QuestionFinding recurring dates. Pin
T-Smooth11-Sep-06 3:06
T-Smooth11-Sep-06 3:06 
AnswerRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 3:50
Eric Dahlvang11-Sep-06 3:50 
GeneralRe: Finding recurring dates. Pin
T-Smooth11-Sep-06 5:48
T-Smooth11-Sep-06 5:48 
AnswerRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 6:42
Eric Dahlvang11-Sep-06 6:42 
GeneralRe: Finding recurring dates. Pin
T-Smooth11-Sep-06 8:24
T-Smooth11-Sep-06 8:24 
GeneralRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 10:19
Eric Dahlvang11-Sep-06 10:19 
AnswerRe: Finding recurring dates. Pin
Michael Potter11-Sep-06 10:20
Michael Potter11-Sep-06 10:20 
GeneralRe: Finding recurring dates. Pin
Eric Dahlvang11-Sep-06 10:55
Eric Dahlvang11-Sep-06 10:55 
QuestionCondition as parameter of sp ... ? [modified] Pin
devboycpp10-Sep-06 23:22
devboycpp10-Sep-06 23:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.