Viewing 15 posts - 196 through 210 (of 321 total)
Try this and look at SP after : )
CREATE PROCEDURE spTest;4
@EmployeeID INT,
@City VARCHAR(15) = 'London'
AS
SELECT EmployeeID, LastName, FirstName, City
FROM Employees
WHERE EmployeeID = @EmployeeID ...
June 24, 2005 at 1:45 pm
Do you have DEFAULT VALUE for the NOT NULL fields in the table definition?
As govinn mentioned you can use BulkInsert with format file but if you won't have values or defauls...
June 24, 2005 at 11:44 am
Holidays .... that's nice to have .... : )
I knew about missing days (even from sample) data but i just wanted to point that if he picks a Certain no...
June 23, 2005 at 1:35 pm
You can Use TSQL successfully
but my advice is to use the Alg that is NOT RECURSIVE (wich is fast my last VB post) and for MyStack,SOL use a Table Variable...
June 23, 2005 at 1:20 pm
SET NOCOUNT ON
DECLARE @stocks TABLE( TradeDate datetime NOT NULL,TradePrice decimal(10,2))
INSERT INTO @stocks SELECT '1/1/2005', 10
INSERT INTO @stocks SELECT '1/2/2005', 12
INSERT INTO...
June 23, 2005 at 1:12 pm
: ) That's the catch to make to alg process as many posibilities as posible : ) (wich takes time : ) )
June 23, 2005 at 1:02 pm
Yes is the smallest but is not the one who dictate the result ... and from here your high time for certain values ...
What you should do now is to...
June 23, 2005 at 12:51 pm
SELECT TOP 10 u.Serial, r.Model, u.Release, d.EventDate
FROM Production_Unit u LEFT JOIN Production_Detail d ON u.Serial = d.Serial LEFT JOIN Release r
ON u.Release = r.Release
WHERE r.Line = @Line and d.EventID...
June 23, 2005 at 12:20 pm
Cause value 10 fetches more rows in ProductionUnit?
try to select how many rows are with this value in ProductionUnit... comparing to values from 1 to 9
When you remove the order...
June 23, 2005 at 11:57 am
To obtain a Format File you can use this command
bcp MyDB..MyTable format test.txt -f "ExportFormat.fmt" -c -t \t -r\n -S MyServer -T
because your data is fixed length you will have to...
June 23, 2005 at 9:28 am
If you have the Table just use this command to generate the FormatFile that you need
bcp [MyDB]..[MyTable] format test.txt -f "ExportFormat.fmt" -c -t \t -r\n -S ServerName -T
or you can...
June 23, 2005 at 9:21 am
Maybe this is your prob :
EXECUTE permissions for a stored procedure default to the owner of the stored procedure, who can transfer them to other users. Permissions to use the...
June 23, 2005 at 7:30 am
The VB code Recursive Code is Working as good as the NonRecursive code in VB (at least that's how it seems)
I was trying 339, 219 with the SQL code...
June 23, 2005 at 7:07 am
With some tunning this VB code is WAY faster than the Recursive solution( try 219,339,439 wich are really time consummers values for the recursive version)
Dim ArrayValues() As Double
Dim MyStack() As...
June 23, 2005 at 6:50 am
Maybe I just looked at his last post :
-- just do not sum up the nSpeed for those records with nStatus = 1
which is contractidory to what he sais at...
June 22, 2005 at 8:09 am
Viewing 15 posts - 196 through 210 (of 321 total)