Click here to Skip to main content
15,795,233 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to delete all data of a specific column Pin
rittjc19-Jun-06 21:22
rittjc19-Jun-06 21:22 
GeneralRe: How to delete all data of a specific column Pin
CandyMe19-Jun-06 23:00
CandyMe19-Jun-06 23:00 
QuestionProgrammatically creating a new Access DB [modified] Pin
rittjc19-Jun-06 17:38
rittjc19-Jun-06 17:38 
AnswerRe: Programmatically creating a new Access DB Pin
Eric Dahlvang20-Jun-06 4:21
Eric Dahlvang20-Jun-06 4:21 
GeneralRe: Programmatically creating a new Access DB Pin
rittjc20-Jun-06 4:40
rittjc20-Jun-06 4:40 
Questionconversion Pin
pavan kumar.p19-Jun-06 5:40
pavan kumar.p19-Jun-06 5:40 
AnswerRe: conversion Pin
Eric Dahlvang19-Jun-06 6:14
Eric Dahlvang19-Jun-06 6:14 
GeneralRe: conversion Pin
r.stropek21-Jun-06 0:42
r.stropek21-Jun-06 0:42 
I would suggest to add the isnumeric function if you are not absolutely sure that the string ALWAYS contains valid ints:

select cast( case when isnumeric(ColumnName)=1 then ColumnName else NULL end as int ) from TableName


Regards,
Rainer.


Rainer Stropek
Visit my blog at http://www.cubido.at/rainers
GeneralRe: conversion Pin
Eric Dahlvang21-Jun-06 5:44
Eric Dahlvang21-Jun-06 5:44 
Questioninsertquery Pin
pavan kumar.p19-Jun-06 5:37
pavan kumar.p19-Jun-06 5:37 
AnswerRe: insertquery Pin
Colin Angus Mackay19-Jun-06 6:50
Colin Angus Mackay19-Jun-06 6:50 
QuestionCONVERT() Function Pin
NICE TO MEET19-Jun-06 2:05
NICE TO MEET19-Jun-06 2:05 
AnswerRe: CONVERT() Function Pin
vivek-g21-Jun-06 0:45
vivek-g21-Jun-06 0:45 
QuestionBest way of searching XML [modified] Pin
__makaveli__19-Jun-06 1:44
__makaveli__19-Jun-06 1:44 
AnswerRe: Best way of searching XML Pin
rittjc20-Jun-06 3:38
rittjc20-Jun-06 3:38 
Questiontrim in select stmt Pin
bony_baba18-Jun-06 22:27
bony_baba18-Jun-06 22:27 
AnswerRe: trim in select stmt Pin
Reza Raad19-Jun-06 0:34
Reza Raad19-Jun-06 0:34 
Questionhow to show date in access table?? Pin
areon2518-Jun-06 20:45
areon2518-Jun-06 20:45 
QuestionInserting a Row - Returning the ID Pin
AJ12317-Jun-06 23:40
AJ12317-Jun-06 23:40 
AnswerRe: Inserting a Row - Returning the ID Pin
AJ12318-Jun-06 0:09
AJ12318-Jun-06 0:09 
Questionhow to give a name to the result table Pin
TheBeginner7717-Jun-06 23:39
TheBeginner7717-Jun-06 23:39 
AnswerRe: how to give a name to the result table Pin
Paul Brower19-Jun-06 5:06
Paul Brower19-Jun-06 5:06 
Questionusing "ntext" (data type in SQL Server) Pin
leanhsang17-Jun-06 19:53
leanhsang17-Jun-06 19:53 
AnswerRe: using "ntext" (data type in SQL Server) Pin
Dinuj Nath17-Jun-06 20:59
Dinuj Nath17-Jun-06 20:59 
QuestionSQL Server Function Dynamic Column Pin
smarttom9917-Jun-06 7:25
smarttom9917-Jun-06 7:25 

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.