Viewing 15 posts - 2,536 through 2,550 (of 2,894 total)
Forum ghosts resurrecting threads! Arch! :-D:-D:-D
July 14, 2010 at 9:24 am
Jon,
The last query you posted looks very wrong (or crap, in Australian :-D).
For one or another reason everyone here is struggling to understand your filtering requirements.
I am, again, strongly...
July 14, 2010 at 9:19 am
ssis learner__ (7/14/2010)
... I dont really trust left joins ...
:w00t:
Me too! I hate them! They are commie bustards!
Vote conservatives! :-D:-D:-D
You wanted to say: "I don't really understand how left...
July 14, 2010 at 8:57 am
Julie Breutzmann (7/14/2010)
...What would be an efficient way to code this?
...
If you need high-performance heavy string manipulation functions write them as CLR functions in c#. T-SQL UDF will always be...
July 14, 2010 at 8:25 am
looks like school homework to me, therefore no solution but a guide:
Read about using aggregate functions in SQL, in your case it would be SUM.
Also, please click the link...
July 14, 2010 at 8:19 am
I like noodles some times, but usually I have them cooked not coded...:-D
Read about using CTE in SQLServer. Also, introducing variable to hold MAX(TotalTrades) will make your code look better...
July 14, 2010 at 8:10 am
The most closest thing to a "Fuzzy" search in SQL is using Full-text predicates (google FREETEXTABALE & CONTAINSTABLE)
You might not like using it...
If you want to have good fuzzy search...
July 14, 2010 at 8:01 am
The simplest CLR in C# would look like:
public string UnwrapHierarchy(string value)
{
...
July 14, 2010 at 7:38 am
george.greiner (7/14/2010)
I have been able to filter the A row but all subsequent lines pull all the records as they do not have a "DateFinished" column. How do I...
July 14, 2010 at 7:16 am
Paul, have you seen my post #951618 (using UDF), bottom of page 3?
Do you think this approach is viable for most of scenarious? Of course, this function better...
July 14, 2010 at 7:10 am
your litle "cheat" will only work for cases where the second part of data is less than 10 .
Check what will happen if you add 1.10 or 2.10 in a...
July 14, 2010 at 6:10 am
tasnim.siddiqi (7/13/2010)
To Paul: A few things for my table. I am a database programmer (a new one). My table will have some 90000+ rows and I need to maintain unique...
July 13, 2010 at 7:45 pm
george.greiner (7/13/2010)
July 13, 2010 at 2:45 pm
Modifictaion of my creative way 😀
Requires a function (which, for a better performance, can be implemented in C#):
CREATE FUNCTION dbo.udf_CreativeThinkingWithOnes ( @sHV varchar(max) )
RETURNS VARCHAR(MAX)
WITH SCHEMABINDING
AS
BEGIN
...
July 13, 2010 at 10:00 am
Looks like there is no simple way (set-based) to do it in SQL2005.
July 13, 2010 at 9:39 am
Viewing 15 posts - 2,536 through 2,550 (of 2,894 total)