Viewing 15 posts - 1 through 15 (of 30 total)
I agree on the processing time. Currently we are using a design requiring numeruus temp tables and cursors to calculate the cost. With approximately 35,000 rows in the customer table the...
August 29, 2004 at 8:43 pm
Thanks Rockmoose! Your scenario fits my situation well.
August 29, 2004 at 10:25 am
What your saying makes sense but, the cost that is being calculated involves items being bought at one price and sold at another. Profits then need to be calculated at...
August 28, 2004 at 11:07 pm
I note that the boys at Microsoft and BOL don't use alias names in their queries. I don't either. It only creates confusion and makes the code more criptic.
Being new...
August 12, 2004 at 11:11 pm
I thought we said programmaticlly . . .
Dim WithEvents Con As ADODB.Connection
Private Sub Form_Load()
Set Con = New ADODB.Connection
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, _
...
August 11, 2004 at 10:35 pm
Your right. It should look like this . . .
USE NORTHWIND
SELECT * FROM Orders WHERE (OrderID = (SELECT TOP 1 OrderID FROM
Orders WHERE (OrderID < 10250) ORDER BY...
August 9, 2004 at 4:52 pm
Upon giving this some thought. In the real world, from an application point of view, we probably only know the OrderID of the current record so this seems to make...
August 9, 2004 at 9:42 am
Why does the result set from the example return Steve?
This seems fairly straight forward and returns Andy and Brian as should be expected.
SELECT TOP 2 * FROM Orders WHERE (OrderID >...
August 9, 2004 at 9:27 am
Razvan Socol,
Yes, I agree that using the cursor is heavy and slow.
Since this problem is a little short on business rules (it doesn't have any) and we really don't...
August 6, 2004 at 1:52 pm
This is bit complex but it seems to work . . .
Create table #Temp1 (value varchar(20))
Insert into #Temp1 (value) values ('15A')
Insert into #Temp1 (value) values ('15B')
Insert into #Temp1 (value)...
August 5, 2004 at 2:42 pm
Your violating the rules of normalization. You need a third table to store each atomic value for table1_Col1 . . .
CREATE TABLE [dbo].[Table1] (
[Col1] [int] IDENTITY (1, 1) NOT...
July 29, 2004 at 11:06 am
Create an ODBC database connection pointing to your Access database. Go to Excel and use DATA | IMPORT EXTERNAL DATA | NEW DATABASE QUERY. On the third page in the...
July 29, 2004 at 10:19 am
For starters, check the following url . . .
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsqlmag01/html/BLOB.asp
I used this and other articles I found to build a Web application for an online catalog. The images are initially...
July 28, 2004 at 10:59 am
Viewing 15 posts - 1 through 15 (of 30 total)