Viewing 15 posts - 1 through 15 (of 20 total)
Lynn Pettis (8/5/2009)
August 6, 2009 at 7:12 pm
Lynn Pettis (8/4/2009)
August 5, 2009 at 3:36 am
drew.allen (8/4/2009)
yaya1899 (8/4/2009)
It's working! Thanks a lot, Lynn Pettis and Allen 😀Who is this "Allen" that you are referring to?
Drew
I'm referring to you, sorry for my mistake.:-)
Michael Valentine Jones (8/4/2009)
August 4, 2009 at 7:34 pm
It's working! Thanks a lot, Lynn Pettis and Allen 😀
August 4, 2009 at 4:41 am
Lynn Pettis (8/3/2009)
Msg 207, Level 16, State 1, Line 11
Invalid column name 'rowNum'.
You can't...
August 3, 2009 at 7:32 pm
Will try on your approach, thanks again 😀
July 8, 2009 at 1:32 pm
I'm just taking some fields from each table, the actual one has a very different structures.
I could'nt use UNION ALL as it may retrieve duplicated records and I want to...
July 8, 2009 at 1:31 pm
I'm just taking some fields from each table, the actual one has a very different structures.
I could'nt use UNION ALL as it may retrieve duplicated records and I want to...
July 8, 2009 at 1:30 pm
Hi Goldie,
My count function is almost the same as the SELECT function without the ROW NUMBER().
Finally I came out with some samples, kindly advise.
-- * Employee Table --
DECLARE @Employee TABLE
(
EmpID...
July 7, 2009 at 3:08 pm
Hi Goldie,
If just create some table variables with some data, how could I simulate the situation without the same structure? Sorry, just couldn't find a way to create the sample...
July 2, 2009 at 7:13 pm
Thanks, just found that by setting Results to Text will do. 😀
June 29, 2009 at 10:13 pm
I wanted the result in text format, and with some additional text also.
June 29, 2009 at 10:08 pm
Thanks for your advice, David.
Hi Goldie,
Sorry, I was trying to create some sample data with similar conditions but no luck, the structure is too complicated.
1. I have to use UNION...
June 29, 2009 at 9:02 pm
Hi Florian, thanks for your advice. My mind was thinking about using the procedural approach to solve the problem. Now, I learned that SQL is made for set-based operations.
Thanks again...
June 26, 2009 at 8:26 pm
Let's take this as example, my application has tables to store Country, State, City, Province. And each table has a fk to the other table.
Example
1. CountryPK will...
June 26, 2009 at 11:11 am
Viewing 15 posts - 1 through 15 (of 20 total)