Forum Replies Created

Viewing 15 posts - 46 through 60 (of 2,452 total)

  • RE: Find a string with two dots

    maybe,,,,,,

    DECLARE @test-2 TABLE (
    coltoconvert varchar(20)
    );

    INSERT INTO @test-2 (coltoconvert )
    VALUES ('123') ,('665584'),('13.4'),('16.8.7')

    SELECT coltoconvert,TRY_CONVERT( INT, coltoconvert)FROM @test-2;
    SELECT coltoconvert,TRY_CONVERT( DECIMAL(18,...

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

  • RE: How to convert kilograms to pounds and ounces

    NineIron - Friday, December 29, 2017 8:48 AM

    Given a weight of 68.6 kg. Is this the best way to do it?

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

  • RE: Christmas 2017

    kaspencer - Monday, December 25, 2017 2:47 PM

    I've never heard of "Harry Potter and the Sorcerer's Stone". The nearest title to that...

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

  • RE: Records in a Table

    try this ....lots of solutions if you care to search on the web.
    https://www.mssqltips.com/sqlservertip/2537/sql-server-row-count-for-all-tables-in-a-database/

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

  • RE: I don't think Pivot is going to work

    hi....please take a look here https://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/

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

  • RE: How to sum values based on HSN codes in mssql2000

    use SUM with GROUP BY  invoiceno, cust_name,HSN

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

  • RE: about casting string date value to datetme

    sa.ordekci - Wednesday, December 20, 2017 3:52 AM

    Hi. I use Sql Server 2008. 
    I have a column that is varchar. Some of values...

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

  • RE: Find nth position in a pipe delimited string

    SELECT #t.OrderRecordUrnID,
       s.itemnumber,
       s.item
    FROM #t
      CROSS APPLY dbo.DelimitedSplit8K(#t.OrderRecordValue, '|') s
    WHERE itemNumber = 31
      AND item <> '';

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

  • RE: Access as FE and MS SQL Server as BE

    @Jacek 
     http://utteraccess.com/forum/

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

  • RE: bcp changing high ascii values

    Lynn Pettis - Monday, December 18, 2017 11:05 AM

    Stephen Grimshaw - Monday, December 18, 2017 10:18 AM

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

  • RE: combining two tables.

    https://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/

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

  • RE: Populate Acct Number (based on record above)

    texpic - Saturday, December 16, 2017 4:49 AM

    If the ID was ascending (original example was desc)  how would I do this?  I...

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

  • RE: Islands and Gaps Question

    drew.allen - Friday, December 15, 2017 1:18 PM

    J Livingston SQL - Friday, December 15, 2017 1:01 PM

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

  • RE: Islands and Gaps Question

    autoexcrement - Friday, December 15, 2017 12:46 PM

    DREW = TOO SEXY

    what results would you expect for this set of data?

    INSERT...

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

  • RE: To Index a Computed Column...

    fyi

    DECLARE @start AS INT= 20171215;
    DECLARE @end AS INT= 20180119;
    SELECT CONVERT( DATETIME, CONVERT(VARCHAR(8), @start));
    SELECT CONVERT( DATETIME, CONVERT(VARCHAR(8), @end));
    SELECT DATEDIFF(DAY, CONVERT( DATETIME, CONVERT(VARCHAR(8), @start)),CONVERT( DATETIME,...

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

Viewing 15 posts - 46 through 60 (of 2,452 total)