Viewing 15 posts - 826 through 840 (of 921 total)
I guess I'm an iconoclast here, but, if these types of property are fundamentally different (as land and cars certainly are), I would not have a "tblProperty" at all, but...
September 30, 2003 at 6:12 am
select CAST(e.EmpID AS varchar(8)) + '/' +
RIGHT('000' + CAST(
(SELECT COUNT(*)
FROM Cars
WHERE EmpID = e.EmpID AND CarNumber <= c.CarNumber)
AS varchar(3)),3) ECarID,
e.EmpName, c.CarNumber
FROM Employees e JOIN Cars...
September 30, 2003 at 5:18 am
Use the Client Network Utility. In the Alias screen, add an alias using the TCP/IP network library. Put the server's name in the "Server alias:" textbox and type 127.0.0.1...
September 29, 2003 at 6:27 pm
Don't know Crystal, but, assuming this can be done in scope, use your front-end to insert the vendor numbers into a temporary table. Then have your SP use that...
September 29, 2003 at 3:18 pm
CREATE TABLE Days(doy smallint)
declare @i smallint
set @i = 0
while @i < 366 begin
insert Days
values(@i)
set @i = @i + 1 end
DECLARE @StartDate datetime
SET @StartDate = '20030922'
SELECT @StartDate + d.doy Date, SUM(ISNULL(No_of_Items_Sold,0))
FROM...
September 29, 2003 at 2:59 pm
quote:
To know the amount of statistics '_WA_', I use :
select o.name as Nom_Table, i.name as Nom_Index, i.indid, i.dpages * 8 as Volume_Ko
from...
September 29, 2003 at 1:26 pm
quote:
Thanks for the quick response.It works. ( but I need to comment out the last line, otherwise it gives error about SalesAmount).
September 29, 2003 at 11:50 am
quote:
Hi Jonathan,You are right. I am trying to the sp_executesql way. However, I still have a problem when I run the...
September 29, 2003 at 10:05 am
quote:
Hi Jonathan,We originally did use timestamp, but were led to believe that the data type was to be dropped from Yukon...
September 29, 2003 at 9:01 am
Try turning off parallelism on the production server.
--Jonathan
September 29, 2003 at 8:49 am
SELECT CONVERT(char(7),SaleDate,120), SalesAmount
FROM Sales
WHERE SaleDate = DATEADD(m,1,SaleDate) - DAY(DATEADD(m,1,SaleDate))
GROUP BY CONVERT(char(7),SaleDate,120)
--Jonathan
Edited by - jonathan on 09/29/2003 08:41:49 AM
September 29, 2003 at 8:41 am
I'm guessing that you've got "Use NT fibers" turned on and are encountering a bug with that facility. ("UMS" stands for User Mode Scheduling, AKA fiber mode processing, AKA...
September 29, 2003 at 8:24 am
My suggestion is to use the timestamp (AKA rowversion in SQL Server 2000) instead of the uniqueidentifier data type for this column.
--Jonathan
September 29, 2003 at 7:24 am
quote:
That will fine, but after creating the new structure how can I ensure data is the same on both sides? How can...
September 29, 2003 at 5:46 am
Viewing 15 posts - 826 through 840 (of 921 total)