Forum Replies Created

Viewing 15 posts - 1,996 through 2,010 (of 2,452 total)

  • RE: the TSQL code for this query...is needed.

    Jeff Moden (2/10/2012)


    wurkenmomz (2/10/2012)


    Also, he states that using the Distinct will not get the recommended results and can be very unreliable, in these cases. He does this for a...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Converting a nonstandard date format

    suggest this to work with two digit dates

    [Date]= convert(datetime,right(DT,20))

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: getting results fro multiple product accounts

    look up GROUP BY and COUNT in BOL

    alternatively please provide more details in the form of table create scripts and sample data (if you are not sure on how...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: multiple relationships

    here's a thought...any good?

    USE [tempdb]

    GO

    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[T_VOL_USAGE]') AND type in (N'U'))

    DROP TABLE [dbo].[T_VOL_USAGE]

    GO

    CREATE TABLE [dbo].[T_VOL_USAGE](

    [VOL_NAME] [nvarchar](5) NULL,

    [NODE_NAME] [nvarchar](5) NULL

    ) ON [PRIMARY]

    GO

    INSERT INTO...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: execute a pass through

    this thread may give you some more ideas

    http://stackoverflow.com/questions/4937933/ms-access-pass-through-dependent-on-form-value

    hope it helps and good luck

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: execute a pass through

    can you provide the SQL for your query

    I am no Access expert, I think that you are having problems relating to Form!

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: execute a pass through

    does " execute spfiscalsocialstatsnotsatorholidays forms!f_main!txtbegindate, forms!f_main!txtenddate" run successfully when executed from a command on Form "f_main" ?

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Need move to Column value to Row value for Testing Purpose

    right click on the results pane in SSMS

    "copy with headers"

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: the TSQL code for this query...is needed.

    I believe the COUNT(*) needs to be COUNT(DISTINCT VendorName) to allow a single vendor to have more than one presence in the city.

    absolutely agree...but should it be VendorID (not vendorName)...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: the TSQL code for this query...is needed.

    Hi...seems that from your previous posts that you are currently a student.

    ...no probs with that, but you will learn a lot faster if you at least provide what you you...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Separate values from one column to two

    lonex (2/8/2012)


    Thanks for revision, now I see how important is to get that sample data and have tried but not getting any luck on that as that is another issue...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Droping and Recreating INDEX During ETL.

    perhaps if you can explain what your ETL process is doing, we can then provide some advice.

    there are many ways to perform "ETL".

    kind regards

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Including Missing Values in Data Ranges Without a Lookup Table

    hmmm...maybe I am misusing your code

    but try with this data

    Insert Into dbo.PerfMonData (TrackTime, TrackValue)

    Values ('1:13:08 AM', 0.150998),

    ('2:13:13 AM', 1.476516),

    ('2:13:18 AM', 0.094423),

    ...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How do i convert nvarchar to datetime?

    try this

    USE [tempdb]

    GO

    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table_1]') AND type in (N'U'))

    DROP TABLE [dbo].[Table_1]

    GO

    CREATE TABLE [dbo].[Table_1](

    [ddate] [nvarchar](255) NULL,

    [ddate2] [datetime] NULL

    ) ON [PRIMARY]

    GO

    INSERT INTO [dbo].[Table_1]([ddate])

    SELECT N'01...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to improve Join performance for big tables join

    can we assume that there are no indexes on table bigw.PL0_NEW_ALL ?

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 1,996 through 2,010 (of 2,452 total)