Viewing 15 posts - 436 through 450 (of 600 total)
Eric M Russell (7/20/2011)
July 21, 2011 at 12:00 pm
Its not about wanting "stupid" employees.
Retention is a concern, but I think moreso for certification of existing skills than training in new ones.
To me, the problem is in explaining to...
July 20, 2011 at 2:42 pm
Ninja's_RGR'us (7/20/2011)
bitbucket-25253 (7/19/2011)
After getting the supposed incorrect answer, I cut and pasted the code into SQL 2005 and then again into 2008. Ran each not less than 15 times...
July 20, 2011 at 8:15 am
bopeavy (7/19/2011)
NevynIn that case the definition would be how often a number or numbers follow the number before it.
So what you are looking for is consecutive rows with the same...
July 19, 2011 at 10:27 am
If there is no definition, then everything is a pattern.
For example, in your sample data, every row is either 7,6,1,2, or 12 fewer or 15 or 12 greater than the...
July 19, 2011 at 10:16 am
Here is my solution.
This solution assumes each test will have a max of 5 results. It further assumes that examrowid will be spaced in relation to the rows as in...
July 19, 2011 at 9:56 am
I caught that, but based on his initial question (wanting specific columns up until result 5), I assumed he meant a student could have unlimited exams, and each exam would...
July 18, 2011 at 3:07 pm
Does each exam at least have a fixed # of results (5, as in the example), or could one exam have more of them?
July 18, 2011 at 2:40 pm
First, I don't think your test data shows your problem as it only shows 1 student (in which case your query actually works).
However, in a table with multiple students it...
July 15, 2011 at 3:08 pm
Lets try this again.
john, THIS row of #MyAddress:
INSERT INTO #MyAddress VALUES(1,'A B 123456789','123 South River','Apt 1','Miami','FL','33133')
Matches TWO rows of #MySample
INSERT INTO #MySample VALUES (1, '1234567891011','Smith','Joan')
AND
INSERT INTO #MySample...
July 15, 2011 at 8:53 am
JohnDBA (7/15/2011)
INSERT INTO #MySample VALUES (4, '
123456789 --match value 4
8943','Calan','Katin')
This record does not match because in the #MyAddress table it is NO 'A...
July 15, 2011 at 8:29 am
I would suggest you build your query as a string, and execute it as dynamic sql.
Heading out now, but I may post an example later tonight.
July 13, 2011 at 2:59 pm
Can you give a simplified example of what you're trying to accomplish?
July 13, 2011 at 11:16 am
What is the query that takes 30 seconds ... you didn't include it.
Does your query pull every record from the database? Or is there a where clause you're not...
July 12, 2011 at 10:35 am
I'd guess it has to do with using the float datatype for @Result1. Try it with DECIMAL and let us know if it works.
http://msdn.microsoft.com/en-us/library/aa258832(v=sql.80).aspx
FLOAT is not a precision data...
July 11, 2011 at 7:28 pm
Viewing 15 posts - 436 through 450 (of 600 total)