Viewing 15 posts - 1,156 through 1,170 (of 2,647 total)
dec_obrien (4/11/2012)
Don't ask me why but around a couple of hours a month was my gut feeling!Any interest in doing this remotely?? (for a small fee of course:-))
I'm in Chicago,...
April 11, 2012 at 4:55 pm
dec_obrien (4/11/2012)
SQLKnowItAll (4/11/2012)
April 11, 2012 at 4:47 pm
Lynn Pettis (4/11/2012)
Murphy'sLaw (4/11/2012)
SQLKnowItAll (4/11/2012)
April 11, 2012 at 3:26 pm
That really depends on SO many things... I would say that database administration "could be" minimal if the application uses SQL Server correctly. You say you are proficient in SQL,...
April 11, 2012 at 3:02 pm
Let me get this straight... Instead of meaningless ?'s, your client wants other meaningless characters? Clearly, the conversion is finding some conversion for the characters in columns 7 and 8,...
April 11, 2012 at 2:50 pm
You need to get a book or find some online tutorials my friend. Try posting your question in the Data Mining forum.
April 11, 2012 at 2:14 pm
This fixes the patindex, can't start it with a - in the regex. However, your query only displays the last character replaced. Is that what you want?
Declare @idx_Operator nvarchar(10)
Declare...
April 11, 2012 at 2:05 pm
Try reading through this... http://msdn.microsoft.com/en-us/library/ms189850.aspx
April 11, 2012 at 1:55 pm
Before I say "Yes," You need to explain to me more what you are doing and what this query is trying to accomplish.
April 11, 2012 at 1:52 pm
Well... I'm certainly no expert, but I think you should be doing this in SQL, not in MDX. You use SQL to populate your DW and use SSAS to...
April 11, 2012 at 1:44 pm
Hmm... That won't work either. Take out the + from the string and leave in the -, then the result of the patindex returns 0 again. Hmm...
April 11, 2012 at 1:42 pm
No problem, but I am certainly not an expert (or even the least bit knowledgeable) on REGEXs. Should look at this a bit more.
April 11, 2012 at 1:38 pm
SQLCrazyCertified (4/11/2012)
SQLKnowItAll (4/11/2012)
April 11, 2012 at 1:31 pm
Actually... start with this:
Declare @idx_Operator nvarchar(10)
Declare @Operator nvarchar(10)
Declare @formula nvarchar(100)
select @formula = 'BRIDGESTONE+FIRESTONE perelli-MyTire'--formula from goal_formulas where id = 1
SELECT PATINDEX('%[+-/*|]%', @formula)
SELECT PATINDEX('%[+%-%/%*%|]%', @formula)
See?
April 11, 2012 at 1:30 pm
Viewing 15 posts - 1,156 through 1,170 (of 2,647 total)