Viewing 15 posts - 4,771 through 4,785 (of 4,820 total)
I suspect if you replace the word JOIN with a comma, that problem may go away.
On the LIKE operator, the expression 'abcde' LIKE '%b%' is TRUE, while the expression 'abcde'...
June 19, 2008 at 6:41 am
There's going to be a problem here. If there's no place to reference a date associated with the goods being received, you're in trouble, as TOP n queries...
June 18, 2008 at 9:08 am
Well... I just realized that your last example data breaks my query's sort mechanism, and also doesn't have the 2nd occurrence of 4 in the list show up in the...
June 18, 2008 at 8:55 am
Looks like an auxiliary table of numbers might do the trick, and I'm assuming that every possible value in the list for the Emp_cat field is numeric. Try...
June 18, 2008 at 8:29 am
INSERT statements that have a SELECT can't transform rows into columns, so the error you're getting is exactly what's wrong. Your SELECT statement that follows the INSERT statement...
June 18, 2008 at 7:04 am
I'm thinking along the lines of the following:
UPDATE projects_table
SET END_DATE = A.END_DATE
FROM projects_table AS A LEFT OUTER JOIN projects_table AS B
ON B.project LIKE A.project+'%' AND
...
June 17, 2008 at 8:27 am
If I understood you correctly, you may need to take the record in your caracter table that has the ? in it and delete it. I think a...
June 17, 2008 at 8:03 am
Hi all,
I have a partial solution that should be able to be extended into a complete one. I just don't have the time right now to finish it. ...
June 16, 2008 at 9:15 am
Ok, but how about an example of the nature of the relationships? There are far too many ways to put together many-to-many relationships to know what's going to...
June 16, 2008 at 7:21 am
I'm getting bug-eyed just trying to interpret the statement with the huge number of quote marks. Is there a reason to have 5 quote marks in a...
June 13, 2008 at 10:51 am
On the assumption that your date field is of the DateTime data type, AND that the time portion is always midnight, you could do as follows:
DECLARE @START_DATE DateTime, @END_DATE DateTime
SET...
June 13, 2008 at 10:12 am
I can't quite see what you're looking to accomplish. "N to N relationship" could mean a lot of different things to different people. Can you provide...
June 13, 2008 at 9:51 am
I'm going to have to SLAP myself... My brain apparently had a senior moment and thought it saw ROW_NUMBER when what it actually saw was an Identity...
June 13, 2008 at 8:16 am
EDIT: PLEASE IGNORE THIS...
I'm glad you were able to get a solution, but given that this post is in the SQL Server 7, 2000 portion of the forum, and your...
June 13, 2008 at 7:55 am
I'd like to see a financial application do any sizable report without performance issues where a web API provides the connectivity before concluding that anything less than VPN is sufficient...
June 13, 2008 at 7:40 am
Viewing 15 posts - 4,771 through 4,785 (of 4,820 total)