Forum Replies Created

Viewing 15 posts - 2,116 through 2,130 (of 3,544 total)

  • RE: Silly question...

    See

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/howtosql/ht_install_029l.asp

    p.s. I think remi was referring specifically to install from dev ed disk not generally on how to install

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Transforming Into Multiple Rows

    The following will split the data as you require (based on Remi's universal split query)

    SELECT o.UserID,

    LTRIM(SUBSTRING(',' + o.OrderID + ',', n.number + 1,

    CHARINDEX(',', ',' + o.OrderID + ',', n.number...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL ADSI Interface limitation

    quoteCan someone tell me how to create a linked server to Active Directory?

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/acdata/ac_8_qd_12_94fn.asp

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: duplicates in resultset

    And, sushila....

    why is it everytime you join a thread it goes awol and off the beaten track

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: duplicates in resultset

    Besides,

    I always like to wait for our Lord and Master, Supreme Being to produce the light for us to see forth into the wilderness, hail Remi

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: duplicates in resultset

    I think the duplicate problem stems from the users,webrequest,internaloffice link.

    quoteunworkable deptworker

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: duplicates in resultset

    my guess

    DECLARE @today datetime

    SET @today = DATEADD(day,DATEDIFF(day,0,GETDATE()),0)

    SELECT u.UdeptManager, u.Uname, o.IOofficeName AS [Office],

    ISNULL(sc.Workable,0) AS [Workable], ISNULL(sc.Unworkable,0) AS [Unworkable]

    ISNULL(b.Bills,0) AS [Bills], ISNULL(b.AvgBill,0) AS [AvgBill], ISNULL(b.Dollars,0) AS [Dollars]

    (CAST(b.Bills...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL ADSI Interface limitation

    quoteSomebody suggested that I should partition the query

    Using linked server, that is your only choice. Try changing...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Passing result from READTEXT to a variable

    DECLARE @var varchar(8000)

    SELECT @var = [textcol] FROM

    will retrieve the first 8000 chars

    SELECT @var = SUBSTRING([textcol],10,10) FROM

    will retrieve 10 chars starting at char 10

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Retention - Keeping Your Job

    Nice set of articles, Steve

    You seem to be well versed in the intricacies of employment, ever thought of starting up an Employment...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Query error

    Have you actually determined what is causing the error.

    Is it disk space, the version of SQL Server or is the database in question not allowed to extend?

    If it is disk space...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: compute the rank of a record dynamically from a query

    OK, remi, I stand corrected

    SELECT COUNT(a.quizid)+1 AS [rank]

    FROM (SELECT score, datentime FROM x

    WHERE x.quizid = @quizid AND x.username = @username)...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: easy one, maybe????

    It will populate the index using the data already present, if any.

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: compute the rank of a record dynamically from a query

    But you cannot count 'AllTheRowsThatComeBeforeThatOne' without ordering the data and giving each row a sequential id

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: easy one, maybe????

    CREATE NONCLUSTERED INDEX IX_FuelCOMP ON FuelMaster.dbo.Fill (filldate, companyno)

    will alleviate the need for the USE statement

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 2,116 through 2,130 (of 3,544 total)