Click here to Skip to main content
15,923,120 members
Home / Discussions / Database
   

Database

 
GeneralRe: Problem with SQLserver and updating recordset Pin
Richard Deeming5-Aug-02 23:06
mveRichard Deeming5-Aug-02 23:06 
Generali need your help ...¤Ð__¤Ð; Pin
kims10305-Aug-02 4:56
kims10305-Aug-02 4:56 
Generalmemo fields and other big fields Pin
Roman Nurik4-Aug-02 19:18
Roman Nurik4-Aug-02 19:18 
GeneralRe: memo fields and other big fields Pin
Martin Ziacek5-Aug-02 23:23
Martin Ziacek5-Aug-02 23:23 
GeneralRe: memo fields and other big fields Pin
Roman Nurik6-Aug-02 6:05
Roman Nurik6-Aug-02 6:05 
GeneralCollation Pin
Mazdak3-Aug-02 5:30
Mazdak3-Aug-02 5:30 
GeneralRe: Collation Pin
Richard Deeming5-Aug-02 23:13
mveRichard Deeming5-Aug-02 23:13 
GeneralRe: Collation Pin
Richard Deeming5-Aug-02 23:32
mveRichard Deeming5-Aug-02 23:32 
This example returns the name of the default collation for the server.
SELECT SERVERPROPERTY('Collation')


This example returns the name of the default collation for the Northwind database.
SELECT DATABASEPROPERTYEX('Northwind', 'Collation')


Getting the collation for a column is not as easy. The only way I have found is to use the SQL_VARIANT_PROPERTY function. It's only supposed to work on sql_variant types, but it seems to work on other types as well.
SELECT TOP 1 SQL_VARIANT_PROPERTY(Column, 'Collation') FROM Table

GeneralRe: Collation Pin
Mazdak7-Aug-02 0:36
Mazdak7-Aug-02 0:36 
GeneralUnicode Pin
Mazdak3-Aug-02 4:50
Mazdak3-Aug-02 4:50 
GeneralRe: Unicode Pin
Mazdak3-Aug-02 5:31
Mazdak3-Aug-02 5:31 
GeneralmySQL and Visual C++ Pin
monrobot132-Aug-02 7:16
monrobot132-Aug-02 7:16 
Generalaccess database over internet connection Pin
_ra2-Aug-02 3:11
_ra2-Aug-02 3:11 
Generaldistinct select error Pin
ns1-Aug-02 9:37
ns1-Aug-02 9:37 
Generaldatabase size Pin
Jassim Rahma29-Jul-02 10:51
Jassim Rahma29-Jul-02 10:51 
GeneralRandomly selecting a row from a database Pin
stephen woolhead29-Jul-02 5:00
stephen woolhead29-Jul-02 5:00 
GeneralRe: Randomly selecting a row from a database Pin
AndyG29-Jul-02 7:29
AndyG29-Jul-02 7:29 
Generaldatabase Pin
Shotgun28-Jul-02 13:11
Shotgun28-Jul-02 13:11 
GeneralRe: database Pin
Chris Maunder28-Jul-02 13:59
cofounderChris Maunder28-Jul-02 13:59 
GeneralRe: database Pin
Alexandru Savescu29-Jul-02 21:30
Alexandru Savescu29-Jul-02 21:30 
GeneralRe: database Pin
David Salter5-Aug-02 11:33
David Salter5-Aug-02 11:33 
GeneralBulk loading in .Net Pin
Anonymous27-Jul-02 8:57
Anonymous27-Jul-02 8:57 
GeneralRe: Bulk loading in .Net Pin
Andres Manggini27-Jul-02 12:16
Andres Manggini27-Jul-02 12:16 
GeneralRe: Bulk loading in .Net Pin
Anonymous27-Jul-02 18:41
Anonymous27-Jul-02 18:41 
GeneralRe: Bulk loading in .Net Pin
stephen woolhead29-Jul-02 5:38
stephen woolhead29-Jul-02 5:38 

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.