Viewing 15 posts - 46 through 60 (of 78 total)
I think it depends on how strongly your distribution requirements match those of the Exchange email groups.
If the groups are set up entirely at your request, then by all...
September 28, 2004 at 10:37 am
Scott has a point. For small sets of data the cross-joins are acceptable. For large sets, go to plan B!
September 24, 2004 at 9:37 am
1. It would be an easier problem if the emp_error_log had only one record per employee,
with a separate error field for each data column. So, here's how to create such...
September 24, 2004 at 8:53 am
I agree with Vladan's approach. For a more complex case, however, the ListingID's won't be in
continuous sequence. For this technique to work, however, they at least have to unique in...
September 24, 2004 at 7:56 am
Here's a way to get the Fiscal Week, using the DatePart function.
However, the devil is in the details as they say, so I've included
some specification clarification....
1. Specification by example:
Date: ...
September 23, 2004 at 11:52 am
I agree it is a messy search for an IP string. Consider a string like this:
DECLARE @string varchar(255)
SET @string = 'Title: Lawn Mower. Cost: $125.67. IP Address: 123.12.1.16'
There's...
September 22, 2004 at 1:18 pm
Hello,
Yes of course MIN returns minimum,and FIRST returns first occurrence. However, faced with a "workaround" conversion requirement, I can't think of anything better than MIN() or MAX().
If the Access FIRST()...
September 16, 2004 at 10:50 am
I've found that MIN() does just about the same job as FIRST().
MS Access:
SELECT customer_id,FIRST(order_date)
FROM customer_table GROUP BY customer_id
SQL SERVER:
SELECT customer_id, MIN(order_date)
FROM customer_table GROUP BY customer_id
September 15, 2004 at 12:21 pm
Re: "keeps on running forever".
Is it executing code, or is it "stuck"? I recall that looking at the spid would tell me if the process was using CPU cycles or not. ...
September 15, 2004 at 11:35 am
Hello,
1. Regarding your current code, I don*t see the the closure for the loop: Do While Not objADORS.EOF
2. However, I'd approach it a bit differently -- here's how I...
September 4, 2004 at 12:45 pm
Yes: Notepad (or in my case, Textpad) are the way to go. You can think and type at your own rate.
September 4, 2004 at 11:44 am
I think you need the max(trip_id) for each boat_id and boat_type combination:
SELECT S.record_count,
T.trip_id,
S.compart_no,
T.boat_id,
T.boat_type,
S.recordor_id,
S.record_type,
S.record_loc_type FROM DRY_records S,...
September 4, 2004 at 11:39 am
Maybe create a view on the target table that does not include the Identity column -- and insert into the view?
September 4, 2004 at 11:28 am
Hello,
It looks like you are actually combining records based on the row number in each sub-table. To do that, SQL needs to have the Row# explicitly defined somewhere. The query...
September 4, 2004 at 10:48 am
Books on-line indicates that you can use QUOTES or brackets, and that the hyphen is allowed in a quoted identifier:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/acdata/ac_8_con_03_89rn.asp
You might want to set Quoted Identifier on, and then...
September 4, 2004 at 9:42 am
Viewing 15 posts - 46 through 60 (of 78 total)