Viewing 15 posts - 8,431 through 8,445 (of 10,143 total)
Hi Venki
Can you post the script for the table please? This will allow future posters to evaluate the problem.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 6:19 am
Syed Aun Shah (4/22/2009)
sample data is as:table name: Student
Field Name: Stuent ID
Data in the field looks like:
1*10
11*12
1212*11
1234*11
12345*12
433444*10
Please read the link below, and provide table scripts and sample data, which...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 6:16 am
No problem - what syntax did you settle for?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 5:59 am
A Little Help Please (4/22/2009)
Thanks,I have checked the csv file, i do not have any rows with " or '
If there are definitely no rows with embedded single or double...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 5:58 am
Check out LEFT() and CHARINDEX() in Books Online.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 5:41 am
A Little Help Please (4/22/2009)
Im a bit lost now...
You say I got an embedded single or double quotes in an input string which I'v designated as an output column....
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 5:16 am
Use a searched case, otherwise you're using a comparison operator which won't work with NULLs:
DROP TABLE #NullSample
CREATE TABLE #NullSample (ID INT, Something VARCHAR(15))
--
INSERT INTO #NullSample (ID, Something)
SELECT 1, 'a value'...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 4:37 am
A Little Help Please (4/22/2009)
TITLE: Microsoft Visual Studio
------------------------------
The preview sample contains embedded text qualifiers ("). The flat file parser does not support embedding text qualifiers...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 3:11 am
ubeauty (4/22/2009)
The script to update the assignment code with the newly updated LC157790 without the tab chars is just not working
Have you tested the SELECT part on its own?
SELECT a.*,...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 3:07 am
You're welcome - and I'm no 'sir', just a common working person, like yourself 😀
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 2:55 am
So there are embedded tab chars in strings which look like this: 'LC157790 /TCP'
In which case Flo's function will truncate from the first tab found...
First things first - do you...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 2:53 am
ubeauty (4/22/2009)
UPDATE clientsupplier...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 2:32 am
Check out the NVARCHAR datatype in BOL. You will need to change the size of your VARCHAR receiving column.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 2:29 am
From BOL, the first few sentences for CREATE FUNCTION:
Creates a user-defined function. This is a saved Transact-SQL or common language runtime (CLR) routine that returns a value. User-defined functions cannot...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 2:26 am
ubeauty (4/22/2009)
Conversion failed when converting the varchar value 'LC157790' to data...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
April 22, 2009 at 2:04 am
Viewing 15 posts - 8,431 through 8,445 (of 10,143 total)