Click here to Skip to main content
15,890,438 members
Home / Discussions / Database
   

Database

 
GeneralRe: Script Tool to generate indexes. Pin
Paul Conrad22-Aug-08 20:28
professionalPaul Conrad22-Aug-08 20:28 
QuestionBulk Insert Pin
varshavmane21-Aug-08 21:03
varshavmane21-Aug-08 21:03 
QuestionFinding Datatype of fields in the table Pin
Preethi_12321-Aug-08 19:01
Preethi_12321-Aug-08 19:01 
AnswerRe: Finding Datatype of fields in the table Pin
Tripathi Swati21-Aug-08 19:17
Tripathi Swati21-Aug-08 19:17 
GeneralRe: Finding Datatype of fields in the table Pin
Preethi_12321-Aug-08 19:34
Preethi_12321-Aug-08 19:34 
GeneralRe: Finding Datatype of fields in the table Pin
Tripathi Swati21-Aug-08 19:39
Tripathi Swati21-Aug-08 19:39 
GeneralRe: Finding Datatype of fields in the table Pin
Preethi_12321-Aug-08 20:44
Preethi_12321-Aug-08 20:44 
GeneralRe: Finding Datatype of fields in the table Pin
Tripathi Swati21-Aug-08 20:56
Tripathi Swati21-Aug-08 20:56 
Preethi in your query there is error please put space between
INFORMATION_SCHEMA.COLUMNSWHERE 

thats why you getting error of '=' sign


declare @tablename varchar(20)
set @tablename = 'Customers'
SELECT COLUMN_NAME,DATA_TYPE,CHARACTER_MAXIMUM_LENGTH,NUMERIC_PRECISION,NUMERIC_SCALE FROM
INFORMATION_SCHEMA.COLUMNS WHERE 
TABLE_NAME = tablename ORDER BY ORDINAL_POSITION

Reasons are not Important but Results are Important.
Swati Tripathi

GeneralRe: Finding Datatype of fields in the table Pin
Preethi_12321-Aug-08 21:23
Preethi_12321-Aug-08 21:23 
AnswerRe: Finding Datatype of fields in the table Pin
Mycroft Holmes21-Aug-08 19:17
professionalMycroft Holmes21-Aug-08 19:17 
GeneralRe: Finding Datatype of fields in the table Pin
Preethi_12321-Aug-08 19:22
Preethi_12321-Aug-08 19:22 
QuestionQuery Help Pin
Care Career21-Aug-08 15:56
Care Career21-Aug-08 15:56 
AnswerRe: Query Help Pin
Mycroft Holmes21-Aug-08 16:34
professionalMycroft Holmes21-Aug-08 16:34 
QuestionQueue implentation in SQL Server Pin
Mona1107198321-Aug-08 4:54
Mona1107198321-Aug-08 4:54 
AnswerRe: Queue implentation in SQL Server Pin
DerekFL21-Aug-08 5:59
DerekFL21-Aug-08 5:59 
QuestionWhat SQL language? Can make SQL Server downtime (Dead, paralysis) Pin
ChinaTJBoy21-Aug-08 1:41
ChinaTJBoy21-Aug-08 1:41 
JokeRe: What SQL language? Can make SQL Server downtime (Dead, paralysis) Pin
Manas Bhardwaj21-Aug-08 4:51
professionalManas Bhardwaj21-Aug-08 4:51 
AnswerRe: What SQL language? Can make SQL Server downtime (Dead, paralysis) Pin
DerekFL21-Aug-08 6:10
DerekFL21-Aug-08 6:10 
AnswerRe: What SQL language? Can make SQL Server downtime (Dead, paralysis) Pin
Tripathi Swati21-Aug-08 19:28
Tripathi Swati21-Aug-08 19:28 
AnswerRe: What SQL language? Can make SQL Server downtime (Dead, paralysis) Pin
Paul Conrad22-Aug-08 19:25
professionalPaul Conrad22-Aug-08 19:25 
AnswerRe: What SQL language? Can make SQL Server downtime (Dead, paralysis) Pin
Ravi Sant3-May-11 0:44
Ravi Sant3-May-11 0:44 
QuestionLinking a server and executing query Pin
www.Developerof.NET21-Aug-08 0:23
www.Developerof.NET21-Aug-08 0:23 
AnswerRe: Linking a server and executing query Pin
SimulationofSai21-Aug-08 0:46
SimulationofSai21-Aug-08 0:46 
AnswerRe: Linking a server and executing query Pin
Tripathi Swati21-Aug-08 3:04
Tripathi Swati21-Aug-08 3:04 
GeneralRe: Linking a server and executing query Pin
www.Developerof.NET21-Aug-08 22:03
www.Developerof.NET21-Aug-08 22:03 

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.