Forum Replies Created

Viewing 15 posts - 1,306 through 1,320 (of 2,452 total)

  • RE: Insert Data into Access

    are those errors you posted occurring in SSMS when you try to set up the linked server?

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

  • RE: Get next 2 weeks

    sharonsql2013 (7/23/2014)


    Yes , its for reporting

    what are you expecting the results to be from your post?

    what other tables do you have that store this data.....?

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

  • RE: Get next 2 weeks

    Luis Cazares (7/23/2014)


    You have 2 options:

    - Normalize your table

    - Use dynamic SQL

    You decide.

    I agree with Luis...normalise your data...

    what are you expecting the results to be from your post?

    what other tables...

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

  • RE: Problem with Round

    just a thought...but appears to work, but maybe I am not entirely clear on the issue

    IF OBJECT_ID('Tempdb..#Redondeo') IS NOT NULL

    DROP TABLE #Redondeo

    CREATE TABLE #Redondeo (

    Orden INT Identity(1, 1)

    , Valores MONEY

    )

    INSERT...

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

  • RE: Insert Data into Access

    Shaun2012 (7/23/2014)


    please view the snapshots..

    you are trying to set up the linked server in SQL (via SSMS) ??

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

  • RE: Insert Data into Access

    Shaun2012 (7/23/2014)


    can i send u the error message tommorrow.... im just leaving work ...

    pity...have time to help now...but tomorrow will be fine...hopefully someone else will pick up as well

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

  • RE: Insert Data into Access

    what error message?

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

  • RE: Insert Data into Access

    Shaun2012 (7/23/2014)


    the command wont work because i have insert only rows which does not match and rows which matched to be updated by a value...

    what command wont work?

    were you...

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

  • RE: Insert Data into Access

    try this and see if it helps

    EXEC sp_configure 'show advanced options', 1

    RECONFIGURE

    GO

    EXEC sp_configure 'ad hoc distributed queries', 1

    RECONFIGURE

    GO

    EXEC sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1

    GO

    EXEC sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1

    GO

    EXEC master.dbo.sp_addlinkedserver

    @server = N'<linked server...

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

  • RE: Insert Data into Access

    just a thought...set up a linked server...that way you can push/pull Access

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

  • RE: Display Duplicates

    clue....

    SELECT COMPANY, COUNT(*)

    FROM [CPACONTACTS].[dbo].[CPACONTACTS2]

    GROUP BY COMPANY

    ORDER BY COUNT(*) DESC

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

  • RE: Access EXCEL using OPENROWSET

    have you tried this suggestion

    http://visakhm.blogspot.co.uk/2013/12/how-to-solve-microsoftaceoledb120-error.html

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

  • RE: Access EXCEL using OPENROWSET

    shot in the dark

    SELECT * FROM

    OPENROWSET('Microsoft.ACE.OLEDB.12.0',

    'Excel 12.0;Database=E:\TestFiles\ExcelFile.xlsx';

    Extended properties=Excel 12.0', [Sheet1$])

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

  • RE: 15 minute interval report between two dates with total for each interval

    ok...my thoughts,,,warts n' all 😀

    first some sample data I've made up that I hope is somewhat similar to your situation

    use [tempdb]

    GO

    SET NOCOUNT ON

    /* build some example tables*/

    IF OBJECT_ID('tempdb..Tally') IS NOT...

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

  • RE: How to efficiently import data in .rpt format into SQL 2008

    halifaxdal (7/21/2014)


    yes the wizard is straight forward, I just did it again, if I simply chose Ragged right, there is only one column defined and executing the package will error...

    ________________________________________________________________
    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,306 through 1,320 (of 2,452 total)