sql server 2008

  1. S

    Inserting values into SQL SERVER table via VBA.

    Suppose I have a table in Excel with two columns (Name, Rate) (say, this table's name tExcel). Table starts at cell (2,1), and Date is static (in cell (1,1)) I want to insert those values into SQL Server 2008 tRate table with following logic insert tRate(ID, Rate, Date) select s.ObjectID...
  2. J

    Option Explicit causes error with CopyFromRecordset?!? Excel 2007, SQL Server 2008 R2

    I've encountered an odd error in an Excel 2007 VBA sub. The code queries a SQL Server 2008 R2 database, then copies the recordset to a worksheet in the Excel workbook. If I don't specify Option Explicit, it works fine, but if I add Option Explicit I get the error "Class does not support...
  3. A

    SQL Server 2008R2 and SSIS

    Hello, I realize it is possible, but it will be my first time, can anyone point me to examples or the correct direction? I've searched but some sites seem kinda sketchy. I trust advice and like the people on this site. I will be uploading multiple spreadsheets of Excel data into SQLServer...
  4. L

    Notifying Excel 2007 about changes in a database in SQL Server 2008 R2

    I have a lot of trouble using Excel 2007 together with SQL server 2008 R2. I need to share data between two or more workbooks, and I want to do this through a SQL database (placed in SQL Server 2008 R2) on a remote server. I use VBA with ADO and SQL Server Native Client OLE DB provider as data...
  5. J

    Excel 2007 - Data Connections - VBA to Loop through sheets amending SQL

    Hello, I regularly find myself manually changing the SQL in many different worksheets owing to a minor change in the criteria. For each sheet, the SQL is the same other than for the filtered field, Specialty. So: one sheet for Cardiology, one for Ophthalmology etc. I think this must be...
  6. Q

    Excel from/to SQL Server 2008

    Hi, I downloded a SQL table from my accounting system database into Excel 2007. I have updated a large number of fields and now I want to update the source table by transferring my Excel worksheet back to SQL Server. Cannot see how to do this. Can anyone help?

Some videos you may like

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top