Viewing 15 posts - 35,551 through 35,565 (of 59,099 total)
maheshcrazy.it (12/28/2010)
Fld1Fld2Fld3
A1/15/201015
A2/16/2010
A4/17/201035
A5/15/201065
A6/16/201010
A8/17/2010
A10/15/201068
A12/16/201045
B3/16/201052
B9/16/201063
B11/16/201045
...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 8:43 pm
toddasd (12/28/2010)
You could also use the split function and get a list of all the folders:SELECT * FROM dbo.fn_Split('/folder/folder1/folder2/12345-ABCD.txt','/')
WHERE IDX = 3
I notice you're using "fn_Split"... is that the splitter...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 8:37 pm
Sahasam (12/28/2010)
you rock Jim.I just found other way.
Select
reverse(substring(reverse(PATH),charindex('/',reverse(PATH)), charindex('/',reverse(PATH),charindex('/',reverse(PATH))+1) - charindex('/',reverse(PATH))+1)) as foldername
FROM table
That's going to be a performance problem. REVERSE is one of the more "expensive" functions...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 8:35 pm
hreisterp (12/28/2010)
Jeff Moden (12/28/2010)
hreisterp (12/28/2010)
Used then outstanding LINQPad [/url]tool to do the same.
int[] data=data=Enumerable.Range(2,65536).ToArray(); // learned this today 🙂
var q = from s in data where !(from...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 7:31 pm
tfifield (12/28/2010)
I disagree that OLAP can allow for a small percentage of bad data. If I were to show the owners of companies that I consult for 2 different...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 7:25 pm
TheSQLGuru (12/28/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 7:15 pm
Agreed... especially when you consider dependency order created by DRI.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 7:09 pm
The Dixie Flatline (12/28/2010)
Jack Corbett (12/28/2010)
Now listening to Jeff's Tally Table session on the PASS Summit DVD. Now I have a voice to put with his posts.
Jeff has a...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 7:06 pm
Jack Corbett (12/28/2010)
Now listening to Jeff's Tally Table session on the PASS Summit DVD. Now I have a voice to put with his posts.
With what you know, that one...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 6:56 pm
Indianrock (12/28/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 6:53 pm
I was hoping that someone more skilled at reading XML execution plans than I would stop by to answer your question.
I see that the partitions are coming into play...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 6:40 am
hreisterp (12/28/2010)
Used then outstanding LINQPad [/url]tool to do the same.
int[] data=data=Enumerable.Range(2,65536).ToArray(); // learned this today 🙂
var q = from s in data where !(from o in data...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 5:56 am
hreisterp (12/28/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 5:44 am
hreisterp (12/28/2010)
The performance challenge is not to insert the data but to select the prime number. 🙂
Heh... I know... but if it takes you 6 seconds to create only 60,000...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2010 at 5:42 am
asdfgh-617842 (12/27/2010)
in sp_send_dbmail, do:
@query_attachment_filename = 'blah.csv'
,@query_result_separator = ' ...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2010 at 10:17 pm
Viewing 15 posts - 35,551 through 35,565 (of 59,099 total)