Quantcast
Channel: IT Answers » SQL Server development
Browsing latest articles
Browse All 15 View Live

SQL to insert comma-delimited string value to table column

I have string like ’1,2,3,45,6,7,8′ I want to insert each comma separated value in a table column…my output look like this: COLUMN 1 2 3 45 6 7 8

View Article



Find exact point where SQL Server 2000 job fails

I am running an SQL Server Job, that executes a stored procedure with about 900 commands (mostly insert commands). The job was working OK, but suddenly fails, due to erroneous data (error message :...

View Article

composite WHERE condition in SQL Server

In Oracle, I can do: Select * from table where field1 || field2 in (’01XX’,’02YY’,’03ZZ’) ; Where field1 has values of 01,02,03 and field2 has values of XX,YY,ZZ etc Can I do the same thing in SQL...

View Article

SQL Server 2008 Code to find fields containing similar text

I want to find fields that may be the same in some parts but not 100% identical For example Field 1 Has the word “Smith” Field 2 has “Smith AB” in it Is there any code i can write to find these,...

View Article

Selecting Field Defined as L in SQL Server

I am building 4 part SQL select across 4 files using union alls. All 4 files have a date field which is one of the fields I am selecting. My problem is that on one file the date field is defined as L...

View Article


IF ELSE in SQL Server stored procedure

New Answer by Michael Tidmarsh

View Article

Design a SQL Server trigger to calculate column averages and return them to...

New Answer by Chris Leonard

View Article

Can you force a user input in a SQL statement, then have the statement...

New Answer by Michael Tidmarsh

View Article


Column extention in SQL

New Discussion Post by ToddN2000

View Article


Website and SQL database connection

New Answer by Michael Tidmarsh

View Article
Browsing latest articles
Browse All 15 View Live




Latest Images