Viewing 15 posts - 22,846 through 22,860 (of 59,102 total)
gbritton1 (9/3/2014)
select * from dbo.[DelimitedSplit8K](' ', ' ')...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2014 at 3:34 pm
Jeff Moden (9/3/2014)
Jeff Moden (9/3/2014)
SELECT * FROM sys.All_Columns
SELECT * FROM sys.All_Columns;
One more time from my work desktop...
SELECT * FROM sys.All_Columns;
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2014 at 10:11 am
Jeff Moden (9/3/2014)
SELECT * FROM sys.All_Columns
SELECT * FROM sys.All_Columns;
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2014 at 10:08 am
Ok... the dust bunnies are in an uproar and the hunt is on for "lost sock" as the only possible source of the leak for the secret recipe...
https://www.yahoo.com/food/introducing-hopsicles-the-beer-popsicles-c1408568357508.html
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 9:16 pm
DataDeveloper (8/28/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 10:26 am
TomThomson (8/29/2014)
Ed Wagner (8/28/2014)
I just hope I don't become one of the people who post an answer and forget to answer the original question. 😛
Oh, that's sad - we were...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 10:17 am
Ok... your turn. Why did you need to have the Hierarchy column so that each row contained the next child and the leaf levels of the hierarchy only contained...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 10:15 am
See attached for the SQL Code.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 10:13 am
First, here's the result set from my solution for this problem...
Results:
sId scode ParentID sName Hierarchy
--- ----- -------- ----- -------------------
1 11 0 ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 10:06 am
Crud. I have the answer but my connection from work won't let me post it. I'll see if I can attach it as a file.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 10:04 am
What are you using to do the import with? Bulk Insert, BCP, SSIS or ???
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 7:31 am
peterausger (8/29/2014)
Kindly find attached the table and the op required..Hope this info is good enough...
Thanks
Peter
Graphics are copyable/pastable to SSMS. Do like the article says. Make the code and...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 7:29 am
If you're going to be doing a fair bit of reporting on hierarchical structures, please consider the following article. It takes a bit to setup but, once in place,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 7:15 am
peterausger (8/29/2014)
;WITH SInfo AS
(
SELECTsId
,scode
,ParentId
,sName
,CONVERT(nvarchar(800), scode) AS Hierarchy
FROMtest
WHEREParentId=0
UNIONALL
SELECTTH.sId
,TH.scode
,TH.ParentId
,TH.sName
,CONVERT(nvarchar(800), (SInfo.Hierarchy +'\' + CONVERT(nvarchar(800), TH.scode)))
FROMtest TH
INNER JOINSInfoONSInfo.sId = TH.ParentId
)
Select *...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2014 at 6:22 am
Steve Jones - SSC Editor (8/28/2014)
bump
Would you be interested in a more detailed explaination of why and how the test scripts for the "Tally OH" or the "Running Total" articles...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 28, 2014 at 2:40 pm
Viewing 15 posts - 22,846 through 22,860 (of 59,102 total)