|
-
Jun 11th, 2002, 07:45 AM
#1
Thread Starter
Frenzied Member
ORDER BY what then?
Hello,
With SQL, how can i order an nVarChar field!
It gives me an error:
can't order by nvarchar,image field or ...
is there a way to order letters?
tx
-
Jun 11th, 2002, 07:48 AM
#2
what database format are you using??? I have many SQL statements in my code that does an order by an nvarchar field.. I use sql server 2000
-
Jun 11th, 2002, 07:56 AM
#3
Thread Starter
Frenzied Member
i'm using an sql db,
well actually it's not nvarchar it's
the text, ntext and images data type are not ...
so ?
-
Jun 11th, 2002, 08:07 AM
#4
could you change it to nVarChar? isn't nText used for large text data.. like a memo data type in access?
-
Jun 11th, 2002, 08:12 AM
#5
Thread Starter
Frenzied Member
yeah i'll try that!
this is just how it became when i upsize it from access!
-
Jun 11th, 2002, 08:16 AM
#6
Frenzied Member
TEXT in SQL Server = MEMO in Access
You can't order on a MEMO field in Access, and you can't order on a TEXT field in SQL Server.
Use VarChars if you want to order by that column
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
-
Jun 11th, 2002, 08:29 AM
#7
Thread Starter
Frenzied Member
tx buddies,
everything is fine now
-
Jun 11th, 2002, 08:38 AM
#8
Originally posted by sebs
tx buddies,
everything is fine now
yeah sometimes using the upsizing wizard can be a little freaky.. I actually prefer the import table wizard that is in SQL server... works the same way.. but I think it does the job a little better... and there is more you can customize when importing data...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|