Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gmmastros on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. timfoster

    More fun with pivots!

    You're going to over complicate your query horribly. You can use the cube and rollup functions but as I said this will make it nasty! Dynamic sql is a pain in the proverbial at the best of times. When you start adding dynamic pivots into the mix it's probably better to look at alternative...
  2. timfoster

    Moving to Access 2010

    My Access 2003 skills are a bit rusty as it's so old, but I would presume that Access will recognise it when you open it in 2010 and prompt you to convert it or open it read only.
  3. timfoster

    Database design for tracking tracking deliveries against orders

    In the simplest format I would suggest: orders >- orderitems deliveries >- deliveryitems items This will enable to you record the orders as they are placed along with the items ordered. When deliveries come in record these as well with the items delivered. Presuming your delivery notes have an...
  4. timfoster

    SSRS Oracle Connection

    If you have working drivers for Oracle, then yes. If not, no.
  5. timfoster

    Complete newbie question

    Create a new report Add a datasource (Connection to your SQL Server or other source if your data is elsewhere) Create a dataset pointing either at your dynamic sql (bad) or your stored proc (good) Drop a graph object from your toolbox onto the report and configure according to your dataset...
  6. timfoster

    Outlook UserProperties not readable

    I have a custom Outlook task form that allows me to manage work for a client. I use my own notes field as a UserProperty. When I set the form up and create a new task the form displays correctly and I can add comments to my GPCNotes column. However, as soon as I close the form, I can no longer...
  7. timfoster

    Login script and cloud storage mappings

    Folks, I'm looking for a solution to mapping cloud storage for users in their login script. The cloud accounts are all created using the domain username, the email address, or a global login. What I want to be able to do is connect a number of different cloud solutions as mapped drives via a...
  8. timfoster

    I've confused myself with some dynamic sql. HELP!!!!

    I seem to have gotten myself into a bit of a tangle with this bit of dynamic sql. Can anyone look at it with fresh eyes and clear it up for me? The statement is stored in a table as a string. It's actaully a string that runs against a Postgres database using OPENQUERY. The table is read and...
  9. timfoster

    Where do the SQL create scripts come from?

    Ah, of course!!! Thanks djj55. I've obviously been having a blonde moment!
  10. timfoster

    Where do the SQL create scripts come from?

    I think I may be missing something really obvious here. I want to create a copy of a table without the data. The tables are dynamic and so I can't look at a given column and do WHERE ID = -1 or something similar. Some of the tables may be very large. What I'd like to do is effectively run a...
  11. timfoster

    How do I find out the create date of a table?

    I'm from a SQL Server background, and this is the easiest thing in the world to do in SQL Server. In Postgres it seems to be much more difficult. I want to find the date a table was created and/or last updated. This is in the schema in SQL Server, but I can't find anything remotely close in the...
  12. timfoster

    Change every SP with a script

    Ah yes, SQLSister, but that's assuming the purpose here is to audit the data. In that case I would agree wholeheartedly, but as we're looking to audit the usage of the sp's, triggers wouldn't help much.
  13. timfoster

    Change every SP with a script

    Cool! Thanks George. You're a genius! It's amazing what you learn each day with SQL!
  14. timfoster

    Change every SP with a script

    Thanks for the feedback George. Is it possible to read the contents of an sp though vb? If you know how could you dump an example for me? Nice idea about checking a table. Unfortunately, I can't. Their licence agreement prevents them from changing the code. They want to be able to run the...
  15. timfoster

    Change every SP with a script

    Hi Folks, I need to add some auditing to a clients database. The sp's to actually do the audit are no problem. However, I need to insert the calls to the audit procs into every stored proc in their database and there are over 300!!! In addition, I'll need to be able to remove the audit calls...
  16. timfoster

    Web link to Excell

    Put the following line of code into the excel workbook: Private Sub Workbook_Open() Application.DisplayFullScreen = True End Sub
  17. timfoster

    Need to import multiple tables from Access MDB

    You'd be better off doing this either from Access or from an SSIS package rather than t-sql. Personally, I'd go with Access as it's easier to control and debug than SSIS.
  18. timfoster

    BULK INSERT 0 rows affected

    Without seeing your file it's impossible to say what the problem might be. Post your csv file
  19. timfoster

    Excel Code Stops Running After a File is Opened

    Ha! Loomah, you are a genius! Indeed it was. Staring me in the face was a line of application.enableevents = false with a corresponding true that had been commented out! It's the obvious things that you miss when you're looking for something more complex!! Thanks very much.
  20. timfoster

    VBA Code to Automate sending faxes

    Why bother going in to the complexities of faxing?? My advice would be to sign up with a fax service such as myfax and have your code send the fax via email. This is much, much easier. Either do it with hooks into Outlook or better still using CDO. The end user recieves a fax in the same way as...

Part and Inventory Search

Back
Top