Forum Replies Created

Viewing 15 posts - 826 through 840 (of 921 total)

  • RE: design help please

    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...

  • RE: Help with select

    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...

  • RE: SQL7 Runs on Network, not Standalone

    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...

  • RE: Crystal Report Parameter Search & SP

    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...

  • RE: date wise report

    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...

  • RE: statistics _WA_

    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...

  • RE: select the 1st or the last row in a group

    quote:


    Thanks for the quick response.

    It works. ( but I need to comment out the last line, otherwise it gives error about SalesAmount).

  • RE: Assigning value

    quote:


    Hi Jonathan,

    You are right. I am trying to the sp_executesql way. However, I still have a problem when I run the...

  • RE: Trigger/Update/Indexing Question

    quote:


    Hi Jonathan,

    We originally did use timestamp, but were led to believe that the data type was to be dropped from Yukon...

  • RE: EDITED: Perf Probs with SP, full scan on IBM x235

    Try turning off parallelism on the production server.

    --Jonathan

  • RE: select the 1st or the last row in a group

    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

  • RE: Current SQL Server log messages

    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...

  • RE: Trigger/Update/Indexing Question

    My suggestion is to use the timestamp (AKA rowversion in SQL Server 2000) instead of the uniqueidentifier data type for this column.

    --Jonathan

  • RE: Updating the database structure

    quote:


    That will fine, but after creating the new structure how can I ensure data is the same on both sides? How can...

  • RE: Excel

    The DTS wizard only examines the first eight rows of the spreadsheet, so if none of those rows have a value in a column, it's very possible for the wizard...

Viewing 15 posts - 826 through 840 (of 921 total)