Viewing 13 posts - 1 through 13 (of 13 total)
Joe Celko (6/23/2010)
You mgiht also want to start using ISO-11179 data element names, proper daets and the "VALUES(),...
June 23, 2010 at 3:30 pm
Mark, you da man!
the 2nd option is exactly what was called for. Now I need to grab some asprin from smacking my head so much.
thank you very much!
June 23, 2010 at 6:25 am
Yes, I tried that first and all it did was double up my record count and show the records.
I'm just having a major case of the dums on this 🙁
June 23, 2010 at 5:03 am
ummm.... its a tab-delimited flat file... I'm trying to figure out HOW to get it into SQL and the table in the format I want.
April 22, 2010 at 4:52 pm
I had attached a source file example... its the <magic happens here> part of getting the external mess to the internal hotness that eludes me...
April 22, 2010 at 3:59 pm
updated my post, I'll check that link out.
thanks 🙂
April 22, 2010 at 3:35 pm
nice ressurection of one of my more favorite bookmarked discussions. 🙂
October 16, 2009 at 11:20 am
Ok, so here I was thinking I was giving more information than I needed...
CREATE TABLE #tblCompl
(
IDINTIDENTITY(1,1)
,InvestVARCHAR(75)
,GuideFLOAT
,CPFLOAT
,ExplanationVARCHAR(20)
)
data:
insert #tblCompl
SELECT 'test-a',10,10,'' union
SELECT 'test-b',10,10,'' union
SELECT 'test-c',20,30,'' union
SELECT 'test-d',10,10,'' union
SELECT 'test-e',10,10,'' union
SELECT 'test-f',30,30,'' union
SELECT...
September 11, 2009 at 9:43 am
yeah, thanks 🙂 I replaced all the function calls in the procedure with that statement. I've never read before that scalar functions were 'bad' but I guess ya...
August 14, 2009 at 6:43 am
any thoughts on it or should I just leave well enough alone?
August 13, 2009 at 6:29 am
The function is just a piece of stock code that is used in the system to return the month end date regardless of the date passed in.
ALTER FUNCTION
[dbo].[fnsysMonthEnd]
(
@datDatedatetime
)
RETURNS...
August 5, 2009 at 7:52 am
yeah, fnmonthend just makes sure that I get the specific month end regardless of the date I pass in... so if the data happened to be 5/17/2009 it would come...
August 4, 2009 at 8:41 am
Viewing 13 posts - 1 through 13 (of 13 total)