Click here to Skip to main content
15,913,090 members
Home / Discussions / Database
   

Database

 
GeneralRe: please help me figure out why the heck i can't change the primary key or drop the table in sql 2008 express Pin
tonyonlinux31-Jan-10 13:20
tonyonlinux31-Jan-10 13:20 
GeneralRe: please help me figure out why the heck i can't change the primary key or drop the table in sql 2008 express Pin
Mycroft Holmes31-Jan-10 13:30
professionalMycroft Holmes31-Jan-10 13:30 
QuestionDo SQL server have some functions as like "Select bottom"? Pin
caiguosen30-Jan-10 21:10
caiguosen30-Jan-10 21:10 
AnswerRe: Do SQL server have some functions as like "Select bottom"? Pin
i.j.russell30-Jan-10 22:44
i.j.russell30-Jan-10 22:44 
AnswerRe: Do SQL server have some functions as like "Select bottom"? Pin
Mycroft Holmes31-Jan-10 0:00
professionalMycroft Holmes31-Jan-10 0:00 
AnswerRe: Do SQL server have some functions as like "Select bottom"? Pin
dan!sh 31-Jan-10 0:14
professional dan!sh 31-Jan-10 0:14 
QuestionWhy I can't search SQL database with WHERE with a text variable? Pin
Curious 200930-Jan-10 10:28
Curious 200930-Jan-10 10:28 
AnswerRe: Why I can't search SQL database with WHERE with a text variable? Pin
Mycroft Holmes30-Jan-10 13:03
professionalMycroft Holmes30-Jan-10 13:03 
I rarely use TEXT data type so have not run across this problem but you might try

cmd.CommandText = "SELECT * FROM GuestInfo WHERE Col1 = Convert(text,'ABC')"


It is probable that the command object passes the string data type as varchar, as it is the default I think.

Do some research on stored procedures and parameters, that will solve all these problems and move your sql development and testing to Management Studio which will speed up your delivery time.

Never underestimate the power of human stupidity
RAH

GeneralRe: Why I can't search SQL database with WHERE with a text variable? Pin
Curious 200930-Jan-10 13:23
Curious 200930-Jan-10 13:23 
GeneralRe: Why I can't search SQL database with WHERE with a text variable? Pin
Mycroft Holmes30-Jan-10 15:31
professionalMycroft Holmes30-Jan-10 15:31 
GeneralRe: Why I can't search SQL database with WHERE with a text variable? Pin
Curious 200930-Jan-10 15:49
Curious 200930-Jan-10 15:49 
Questionnested procedure table Pin
Sasmi_Office29-Jan-10 19:45
Sasmi_Office29-Jan-10 19:45 
AnswerRe: nested procedure table Pin
Mycroft Holmes30-Jan-10 12:56
professionalMycroft Holmes30-Jan-10 12:56 
QuestionNeuroDegenerative Problem in SQL Pin
snouto29-Jan-10 18:45
snouto29-Jan-10 18:45 
AnswerRe: NeuroDegenerative Problem in SQL Pin
Mycroft Holmes29-Jan-10 22:26
professionalMycroft Holmes29-Jan-10 22:26 
Questionurgent : list all available instance on lan Pin
Vishal Saxena dev29-Jan-10 18:02
Vishal Saxena dev29-Jan-10 18:02 
AnswerRe: urgent : list all available instance on lan Pin
Vishal Saxena dev31-Jan-10 18:22
Vishal Saxena dev31-Jan-10 18:22 
GeneralRe: urgent : list all available instance on lan Pin
Mycroft Holmes31-Jan-10 18:28
professionalMycroft Holmes31-Jan-10 18:28 
GeneralRe: urgent : list all available instance on lan Pin
Vishal Saxena dev31-Jan-10 20:08
Vishal Saxena dev31-Jan-10 20:08 
QuestionUpdating Table Pin
vhassan28-Jan-10 15:14
vhassan28-Jan-10 15:14 
AnswerRe: Updating Table Pin
Luc Pattyn28-Jan-10 15:41
sitebuilderLuc Pattyn28-Jan-10 15:41 
GeneralRe: Updating Table Pin
vhassan28-Jan-10 15:56
vhassan28-Jan-10 15:56 
GeneralRe: Updating Table Pin
Avi Berger28-Jan-10 16:12
Avi Berger28-Jan-10 16:12 
GeneralRe: Updating Table Pin
vhassan28-Jan-10 19:55
vhassan28-Jan-10 19:55 
AnswerRe: Updating Table Pin
Avi Berger28-Jan-10 15:48
Avi Berger28-Jan-10 15:48 

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.