Click here to Skip to main content
15,887,083 members
Home / Discussions / Database
   

Database

 
GeneralRe: Connection Pool Pin
Mike Dimmick4-May-04 5:45
Mike Dimmick4-May-04 5:45 
GeneralRe: Connection Pool Pin
Jeff Varszegi4-May-04 5:54
professionalJeff Varszegi4-May-04 5:54 
GeneralTrigger, extended SP, send message to a service Pin
cmk30-Apr-04 8:38
cmk30-Apr-04 8:38 
GeneralUrgent Please !!! Stored Procedure to read data from all kinds of files Pin
Wilbur J. Pereira30-Apr-04 0:38
Wilbur J. Pereira30-Apr-04 0:38 
GeneralInserting commas in database Pin
Anonymous29-Apr-04 22:54
Anonymous29-Apr-04 22:54 
GeneralRe: Inserting commas in database Pin
Colin Angus Mackay29-Apr-04 23:56
Colin Angus Mackay29-Apr-04 23:56 
GeneralRe: Inserting commas in database Pin
Anonymous30-Apr-04 7:52
Anonymous30-Apr-04 7:52 
GeneralRe: Inserting commas in database Pin
Colin Angus Mackay30-Apr-04 9:47
Colin Angus Mackay30-Apr-04 9:47 
Anonymous wrote:
Thats wrong syntax

Sorry, I missed the INTO Blush | :O

Anonymous wrote:
What about multicolumns?

They are no different.

INSERT INTO Table1(col1, col2, col3) 
values('0,23','2,49','4,99')


Anonymous wrote:
See, so many quotes and commas in the SQL statement

Ah! Now... This is different - You never mentioned anything about quotes before.


Anonymous wrote:
Do I need to parse and eleminate all those quotes and commas, do u have any other trick?

No tricks, just the SQL Server Books online that come with SQL Server 2000.

SET QUOTED_IDENTIFIER OFF
GO
Insert into Table1(col1,col2,col3) 
values("Hi, how are you?","I'm fine thank you","I guess this SQL won't fail!");
GO
SET QUOTED_IDENTIFIER ON


I actually tested this on a real live SQL Server so I wouldn't mess up the syntax again by just writing it in directly to the web site


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

Coming soon: The Second EuroCPian Event


GeneralRe: Inserting commas in database Pin
Anonymous30-Apr-04 14:00
Anonymous30-Apr-04 14:00 
GeneralRe: Inserting commas in database Pin
Anonymous30-Apr-04 14:01
Anonymous30-Apr-04 14:01 
GeneralRe: Inserting commas in database Pin
Colin Angus Mackay30-Apr-04 14:04
Colin Angus Mackay30-Apr-04 14:04 
GeneralRe: Inserting commas in database Pin
Hesham Amin30-Apr-04 22:14
Hesham Amin30-Apr-04 22:14 
GeneralRe: Inserting commas in database Pin
Jeff Varszegi1-May-04 9:29
professionalJeff Varszegi1-May-04 9:29 
GeneralSQL Named Instance Pin
vikramlinux29-Apr-04 18:02
vikramlinux29-Apr-04 18:02 
GeneralRe: SQL Named Instance Pin
Colin Angus Mackay30-Apr-04 9:51
Colin Angus Mackay30-Apr-04 9:51 
GeneralName and Data Type of all columns Pin
DotNet_Newbie29-Apr-04 11:08
DotNet_Newbie29-Apr-04 11:08 
GeneralRe: Name and Data Type of all columns Pin
Jeff Varszegi29-Apr-04 11:32
professionalJeff Varszegi29-Apr-04 11:32 
GeneralRe: Name and Data Type of all columns Pin
DotNet_Newbie29-Apr-04 11:56
DotNet_Newbie29-Apr-04 11:56 
GeneralRe: Name and Data Type of all columns Pin
Jeff Varszegi29-Apr-04 12:05
professionalJeff Varszegi29-Apr-04 12:05 
GeneralAuto Translate=False problem Pin
saglam29-Apr-04 5:38
saglam29-Apr-04 5:38 
GeneralRe: Auto Translate=False problem Pin
Mike Dimmick4-May-04 23:04
Mike Dimmick4-May-04 23:04 
GeneralRe: Auto Translate=False problem Pin
saglam10-May-04 8:38
saglam10-May-04 8:38 
GeneralRe: Auto Translate=False problem Pin
Mike Dimmick10-May-04 9:49
Mike Dimmick10-May-04 9:49 
GeneralSQL Pin
Boycech29-Apr-04 4:56
Boycech29-Apr-04 4:56 
GeneralRe: SQL Pin
Mike Ellison30-Apr-04 5:44
Mike Ellison30-Apr-04 5:44 

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.