Click here to Skip to main content
15,891,607 members
Home / Discussions / Database
   

Database

 
GeneralSqlDumpExceptionHandler Error Pin
Vimalsoft(Pty) Ltd21-Apr-08 22:18
professionalVimalsoft(Pty) Ltd21-Apr-08 22:18 
GeneralRe: SqlDumpExceptionHandler Error Pin
SimulationofSai21-Apr-08 22:57
SimulationofSai21-Apr-08 22:57 
GeneralRe: SqlDumpExceptionHandler Error Pin
Vimalsoft(Pty) Ltd21-Apr-08 23:10
professionalVimalsoft(Pty) Ltd21-Apr-08 23:10 
GeneralSQL server mdf and ldf Pin
new2pgrmg21-Apr-08 19:19
new2pgrmg21-Apr-08 19:19 
GeneralRe: SQL server mdf and ldf Pin
Sivu21-Apr-08 21:32
Sivu21-Apr-08 21:32 
GeneralRe: SQL server mdf and ldf Pin
SimulationofSai21-Apr-08 21:34
SimulationofSai21-Apr-08 21:34 
GeneralRe: SQL server mdf and ldf Pin
new2pgrmg21-Apr-08 22:12
new2pgrmg21-Apr-08 22:12 
GeneralColumn lenth as read from syscolumns table Pin
WBurgMo21-Apr-08 15:44
WBurgMo21-Apr-08 15:44 
I am trying to come up with a query to determine the structure of a table. So far I have come up with the following query:

SELECT SC.name, SC.length FROM syscolumns SC
inner join sysobjects SO on SO.id = SC.id
where SO.name = 'Customers'

The problem is that the "length" column is twice the size it should be.

Is there a flaw in my query or do I just have to divide the "length"
by two?

Thanks

James Johnson
GeneralRe: Column lenth as read from syscolumns table Pin
Ashfield21-Apr-08 20:02
Ashfield21-Apr-08 20:02 
AnswerRe: Column lenth as read from syscolumns table Pin
WBurgMo22-Apr-08 9:33
WBurgMo22-Apr-08 9:33 
GeneralRe: Column lenth as read from syscolumns table Pin
Ashfield22-Apr-08 21:15
Ashfield22-Apr-08 21:15 
QuestionSQL HELP Pin
n1coltsfan21-Apr-08 5:38
n1coltsfan21-Apr-08 5:38 
GeneralRe: SQL HELP Pin
Michael Potter21-Apr-08 8:21
Michael Potter21-Apr-08 8:21 
GeneralRe: SQL HELP Pin
n1coltsfan21-Apr-08 8:36
n1coltsfan21-Apr-08 8:36 
GeneralRe: SQL HELP Pin
Michael Potter21-Apr-08 8:56
Michael Potter21-Apr-08 8:56 
GeneralRe: SQL HELP [modified] Pin
Blue_Boy21-Apr-08 9:17
Blue_Boy21-Apr-08 9:17 
GeneralRe: SQL HELP Pin
n1coltsfan22-Apr-08 8:44
n1coltsfan22-Apr-08 8:44 
QuestionHow to write the multiple query in single store procedure? [modified] Pin
bruze21-Apr-08 1:11
bruze21-Apr-08 1:11 
AnswerRe: How to write the multiple query in single store procedure. Pin
Colin Angus Mackay21-Apr-08 1:22
Colin Angus Mackay21-Apr-08 1:22 
AnswerRe: How to write the multiple query in single store procedure? Pin
Ashfield21-Apr-08 4:30
Ashfield21-Apr-08 4:30 
GeneralRe: How to write the multiple query in single store procedure? Pin
bruze21-Apr-08 5:35
bruze21-Apr-08 5:35 
GeneralRe: How to write the multiple query in single store procedure? Pin
bruze21-Apr-08 5:38
bruze21-Apr-08 5:38 
GeneralRe: How to write the multiple query in single store procedure? Pin
bruze21-Apr-08 5:54
bruze21-Apr-08 5:54 
GeneralRe: How to write the multiple query in single store procedure? Pin
Ashfield21-Apr-08 19:52
Ashfield21-Apr-08 19:52 
GeneralGet all tables in sql server instance Pin
hdv21221-Apr-08 0:12
hdv21221-Apr-08 0:12 

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.