Forum Replies Created

Viewing 15 posts - 3,121 through 3,135 (of 6,486 total)

  • RE: Access Front End- not Updateable

    Are the underlying tables updateable (from Access)? That often becomes a problem, when the linked tables don't pick up the unique key for a given table.

    Try dropping the linked...

  • RE: Function to convertbinary to varchar

    Jeff Moden (5/29/2008)


    No UDF required... certainly, no CLR required... 😉

    DECLARE @Varbinary VARBINARY(8000)

    SET @Varbinary = 0x5468697320697320612074657374

    SELECT @Varbinary

    SELECT CAST(@VarBinary AS VARCHAR(8000))

    Nice trick Jeff...but that's not a hex string being returned...... He's...

  • RE: Row manipulation

    Christopher Stobbs (5/29/2008)


    VERY nice Matt,

    I like that query 🙂

    Thanks! Although if the data gets big - I'd think about going with Jeff's running totals solution instead (which incidentally could...

  • RE: 1.5 Million Rows. How to Optimize Query?

    Tell your friend to look up full-text indexing. There's no need to reinvent the wheel. The built-in functionality of Full-text indexing will do just that: no need for...

  • RE: Row manipulation

    If you plan on concatenating - you don't need multiple datasets. You just need a way to know where the sequences start and end. This will help you...

  • RE: load a csv file

    rbarryyoung (5/27/2008)


    I have to admit, over the years I have consistently found this to be the single most frustrating aspect of SQL Server, bar none. I cannot even begin...

  • RE: Cursors and variables

    I think you're misunderstanding what is going on. The DECLARE CURSOR does use the variable as it's defined at the time when the DECLARE is issued. Meaning - in...

  • RE: Timeout on queries run from ADO/Access after upgrade to 2005

    Have you tried running profiler while trying the ADO solution? In other words - double check that what is being passed really looks like you'd expect it. I've...

  • RE: Called Microsoft

    GilaMonster (5/7/2008)


    Also, what edition of SQL are you running (standard, enterprise, ...), 32 bit or 64 bit? What service pack?

    What memory switches are present in boot.ini

    What's you min memory setting?...

  • RE: Combining multiple lines from one table into one row of a view

    The CTE was a pretty good Idea - you could try this (this is the older version of a pivot table):

    ;WITH Land_CTE (LandLineNumber,

    ...

  • RE: Selecting Multiple Default Parameter Values

    Looks to me that the DefaultValue should have only one "value" leaf, with the list of the values to select in a comma-separated list.

    As in:

    <DefaultValue>

    ...

  • RE: 1.5 Million Rows. How to Optimize Query?

    do you have any idea what form the queries are taking? Is he trying to offer keyword-based searching of the titles? Exact matches? Topical matches? Phrase-matching?

    Knowing...

  • RE: How to Assign values of a column to values of another column and insert these two values in a table

    Making this a 2000-compatible solution makes this a little more complicated. This should work though:

    select *, identity(int,1,1) as RN

    into #A

    from tableA

    order by newid()

    select *, identity(int,1,1) as RN

    into #B

    from tableB

    order...

  • RE: Add Parameter to enable user to input value GETDATE + 'Parameter' value

    Within the report in VS2005:

    - Go to Report, Report Parameters. Add a parameter. Call it something meaningful (like - DateOffset). Change the data type to integer....

  • RE: SSIS SCD converting data on the insert

    Have you looked at the properties of the source and destination objects within SSIS? The source object in particular. I've seen it make some bad choices about what...

Viewing 15 posts - 3,121 through 3,135 (of 6,486 total)