Forum Replies Created

Viewing 15 posts - 46 through 60 (of 214 total)

  • Reply To: SQL Compression

    The data will be used by 1 or 2 persons for about a month and then a small dataset will be extracted from this and only that will be used. ...

  • Reply To: SQL Compression

    I have a database with no compression on the tables(source).  I want to create a blank database(destination) where I can create the tables with "data_compression = Page" and then Insert...

  • Reply To: add prefix to numeric values

    Thanks!  I forgot about Try_cast .... Need to start using the new functions.

  • Reply To: Trigger to update/Insert record

    thanks, I will look into merge replication.

  • Reply To: Unpivot data

    I wpuld like to get the following columns DC, prepaid, collect, WMItem, ItemDescription on the same row by Hdrid + RID. I'm not sure if this is clear or...

  • Reply To: Unpivot data

    Point taken...please see data below.

    Create Table dbo.MyTable(ID int, HdrID int, RID int, WmItem varchar(50), ItemDescription varchar(150), DC varchar(50), Prepaid varchar(50), Collect varchar(50))

    Go

    INSERT INTO MyTable (ID,HdrID, RID, Wmitem,ItemDescription,DC,Prepaid,Collect) VALUES...

  • RE: Convert varchar date to dd/mm/yyyy format date

    This is what worked for me below.  There were some rows with the month names as values ie "FEBRUARY".
    Try_Convert(varchar,Try_Convert(date,[date_From], 101), 103) as Date_To2

  • RE: Convert varchar date to dd/mm/yyyy format date

    Sean Lange - Thursday, October 18, 2018 11:00 AM

    GrassHopper - Thursday, October 18, 2018 10:53 AM

    October 18, 2018 at 11:37 am

    #2010276

  • RE: Convert data to numeric/decimal

    Jonathan AC Roberts - Thursday, October 18, 2018 10:17 AM

    GrassHopper - Thursday, October 18, 2018 10:09 AM

  • RE: Convert varchar date to dd/mm/yyyy format date

    Jonathan AC Roberts - Thursday, October 18, 2018 10:07 AM

    GrassHopper - Thursday, October 18, 2018 10:04 AM

  • RE: Select 1 row

    Lynn Pettis - Thursday, May 24, 2018 3:27 PM

    GrassHopper - Thursday, May 24, 2018 3:12 PM

    May 24, 2018 at 3:29 pm

    #1991921

  • RE: Select 1 row

    error msg:
    Incorrect syntax near 'partition'

    With CTE
    as (
    select *, row_number() over (partiton by HdrID , TabName order by HdrID) as RN
    from xlshdr_EC

  • RE: Select 1 row

    I want all the columns... This will only return Hdrid and tabname, right?

  • RE: Special characters

    sestell1 - Friday, April 13, 2018 12:52 PM

    Interesting... it looks like escaping the square brackets only works when you explicitly specify the...

  • RE: Special characters

    Phil Parkin - Friday, April 13, 2018 11:26 AM

    The exclamation mark and tilde are easy enough, but those square brackets are a...

Viewing 15 posts - 46 through 60 (of 214 total)