Click here to Skip to main content
16,006,492 members
Home / Discussions / Database
   

Database

 
GeneralStored Procedures Pin
Anonymous12-Nov-04 6:02
Anonymous12-Nov-04 6:02 
GeneralRe: Stored Procedures Pin
Colin Angus Mackay12-Nov-04 6:41
Colin Angus Mackay12-Nov-04 6:41 
GeneralRe: Stored Procedures Pin
Anonymous14-Nov-04 22:38
Anonymous14-Nov-04 22:38 
QuestionHow to back up database on remote computer?? Pin
venadder12-Nov-04 5:07
venadder12-Nov-04 5:07 
GeneralConnection String for Connection to OLAP Server Pin
mysorian11-Nov-04 16:50
professionalmysorian11-Nov-04 16:50 
GeneralRe: Connection String for Connection to OLAP Server Pin
David Salter11-Nov-04 23:47
David Salter11-Nov-04 23:47 
GeneralFrom a Blob to some type of image in Java Pin
Red Sunday11-Nov-04 9:39
Red Sunday11-Nov-04 9:39 
GeneralInserting Pin
eggie511-Nov-04 8:45
eggie511-Nov-04 8:45 
I have the following text...

QUALCOMM's


How can I insert this into my sql database?

When I try to do it now I get an SqlException...

---------------------------
Sql Error
---------------------------
ERROR 
System.Data.SqlClient.SqlException: Line 2: Incorrect syntax near 's'.

   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

   at XmlDataTool.XmlParser.Emit(String sqlString) in d:\my documents\visual studio projects\xmldatatool\xmlparser.cs:line 422
---------------------------
OK   
---------------------------


When I remove all the ' I can insert the text, but they seem to be messing it up. What does my column have to be to accept ''s? Right now it is a nvarchar.... because that seemed like the most flexable as to what it will accept...

/\ |_ E X E GG
GeneralRe: Inserting Pin
Colin Angus Mackay11-Nov-04 9:12
Colin Angus Mackay11-Nov-04 9:12 
GeneralRe: Inserting Pin
eggie511-Nov-04 9:15
eggie511-Nov-04 9:15 
GeneralRe: Inserting Pin
Colin Angus Mackay11-Nov-04 9:27
Colin Angus Mackay11-Nov-04 9:27 
GeneralRe: Inserting Pin
eggie511-Nov-04 9:34
eggie511-Nov-04 9:34 
GeneralRe: Inserting Pin
Colin Angus Mackay11-Nov-04 9:38
Colin Angus Mackay11-Nov-04 9:38 
GeneralRe: Inserting Pin
eggie511-Nov-04 9:42
eggie511-Nov-04 9:42 
GeneralRe: Inserting Pin
Colin Angus Mackay11-Nov-04 9:48
Colin Angus Mackay11-Nov-04 9:48 
GeneralBrowse through list of databases on server Pin
RFickling11-Nov-04 3:58
RFickling11-Nov-04 3:58 
GeneralRe: Browse through list of databases on server Pin
Colin Angus Mackay11-Nov-04 4:23
Colin Angus Mackay11-Nov-04 4:23 
GeneralConnectionString for Server Pin
Vector711-Nov-04 1:36
Vector711-Nov-04 1:36 
GeneralRe: ConnectionString for Server Pin
Daniel Turini11-Nov-04 1:59
Daniel Turini11-Nov-04 1:59 
GeneralRe: ConnectionString for Server Pin
Vector711-Nov-04 2:15
Vector711-Nov-04 2:15 
GeneralRe: ConnectionString for Server Pin
Luis Alonso Ramos21-Nov-04 15:39
Luis Alonso Ramos21-Nov-04 15:39 
GeneralRe: ConnectionString for Server Pin
Mekong River11-Nov-04 14:00
Mekong River11-Nov-04 14:00 
GeneralRe: ConnectionString for Server Pin
Luis Alonso Ramos21-Nov-04 15:37
Luis Alonso Ramos21-Nov-04 15:37 
GeneralDate Format Pin
Brendan Vogt11-Nov-04 0:57
Brendan Vogt11-Nov-04 0:57 
GeneralRe: Date Format Pin
Michael Potter11-Nov-04 9:58
Michael Potter11-Nov-04 9:58 

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.