Viewing 15 posts - 196 through 210 (of 322 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 ...
Vasc
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...
Vasc
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...
Vasc
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...
Vasc
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 @Stocks SELECT '1/3/2005', 13
INSERT INTO...
Vasc
June 23, 2005 at 1:12 pm
: ) That's the catch to make to alg process as many posibilities as posible : ) (wich takes time : ) )
Vasc
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...
Vasc
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...
Vasc
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...
Vasc
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...
Vasc
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...
Vasc
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...
Vasc
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...
Vasc
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...
Vasc
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...
Vasc
June 22, 2005 at 8:09 am
Viewing 15 posts - 196 through 210 (of 322 total)