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 SkipVought 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. mkelly11

    Get Objects NT Owner Name, Not dbo

    Thanks for the quick replies, I'll stick to enforcing the fact that all object creations must be manually noted in a "meta data" table. Unfortunately we are all sysadmins by title, so I can't demote people to lower level permissions simply for tracking purposes. Thanks.
  2. mkelly11

    Get Objects NT Owner Name, Not dbo

    Is there any way, via systems tables or other method, to capture the NT or SQL User name when the user is listed as sysadmin? For example I'd like to know which user is the owner of an object and dbo, for obvious reasons, does not supply the detail I'm looking for. I was hoping to find this...
  3. mkelly11

    Select Null over Valid Date

    I have a multi table join, where I need to select the record with an "open" end date...for example ID Start End 123 01/01/02 12/31/02 123 01/01/03 null 456 01/01/04 04/01/04 456 04/02/04 null 789 01/01/03 01/31/04 In the scenario where ID's 123 & 456 have multiple...
  4. mkelly11

    Poor Query Performance

    Thanks for the many suggestions! The problem turned out to be with the table design,(I decided to take a look instead of taking my co-workers word for it:)) After changing the datatype and field lengths of several columns, and then adjusting the query to use the correct fields (instead of the...
  5. mkelly11

    Poor Query Performance

    Yes the fields are indexed. I know there is a way to run this query through profiler, but I'm not certain how to capture just this query. If I'm on the right path, please send me a suggestion:)
  6. mkelly11

    Poor Query Performance

    I have a team member that is trying to run the following query... SELECT DISTINCT REGID, TBL_02ND_NAME_DOB_SEX_ZIP.* FROM TBL_02ND_NAME_DOB_SEX_ZIP LEFT JOIN TBL_07TH_DOB_SSN ON (TBL_02ND_NAME_DOB_SEX_ZIP.DOB_SSN = TBL_07TH_DOB_SSN.DOB_SSN OR TBL_02ND_NAME_DOB_SEX_ZIP.NAME_DOB =...
  7. mkelly11

    Set Row ID for Set of Like Values?

    I have a cursor written, which I believe will work fine. But I'm having a case of the sometimers and just can't get the "Counter" to work correctly. Could you offer any suggestions on syntax based on the example data listed above?
  8. mkelly11

    Set Row ID for Set of Like Values?

    I need to create a numeric value (*EntryID) for each ID that is listed more than once in a table, for example: ID ContractID EntryID -- ---------- ------- 12 1 1 12 1 2 12 1 3 12 2 1 So long as the ID and Contract are the same...
  9. mkelly11

    Access FE SQL BE - Best Pactices

    I'm hoping someone out there can offer some good performance and best practice tips! Here's a little background... I have several Access XP Front Ends using SQL 2K as a back end data source. All front ends rely on user input to return records. The user selects values from the available combo...
  10. mkelly11

    Index Tuning Wizard Permissions

    Yes, he does have MSDE on his workstation. Now since I'm a newbie to the DBA world, is this an accepted practice in med to large companies? I'm entirely self taught and do not have any "Mentors" at my company. In your experience have you found it to be acceptable for developers to...
  11. mkelly11

    Index Tuning Wizard Permissions

    I have a developer who can't run the Index Tuning Wizard even though he is listed as dbo. He get's an error message stating "to perform this task you must be a member of sysadmin". Can anyone tell me if there is a way around this, my manager doesn't want anyone other than myself (the...
  12. mkelly11

    SQL Server and Access 2000

    Quick question to clarify... Are you looking into which version of SQL Server to purchase or have you already purchased one? 1)Microsoft Access Project is similar to SQL Server in that end users can access and create databases on the Server and manipulate them as if they were using Enterprise...
  13. mkelly11

    FrontEnd with Access & BackEnd with SQL Server???

    How familiar are you with SQK 2K? Are you looking to create the back end from scratch? Access does offer an "Upsizing Wizard" for SQL, which will automatically create and link your tables. I was in your same scenario about a year ago, if you have any other questions I'd be happy to...
  14. mkelly11

    Jet Database engine could not find the object 'Databases'

    Check out www.ontrack.com, I believe the price was around $600.00. However I found several others ranging in price from $100.00 - $350.00. Just search on "Access Recovery" on your favorite search engine. I found the higher the price the more detail you can recover or completely...
  15. mkelly11

    Jet Database engine could not find the object 'Databases'

    Hey folks! Thanks for all your idea's [thumbsup2]. Unfortunately for me (and our VP) our network team was not backing up this particular network drive, it's actually a miscellaneous drive meant for files to be temporarily loaded to, then removed (i.e. to another drive that's backed up or their...
  16. mkelly11

    Jet Database engine could not find the object 'Databases'

    I have found myself in quite a pickle!! One of our executives has been working on a database for several months now. She states that she has been performing large data dumps into this database which is stored on a network drive. Last week while performing an import her system crashed. She...
  17. mkelly11

    Count Number of days across multiple records

    Your query worked GREAT!!! Thanks again for all your help[2thumbsup]
  18. mkelly11

    Count Number of days across multiple records

    I hate to do this but I have to ask a stupid question [sadeyes] In your last post you stated that I could use your last query to requery the original table to obtain grouped dates. But your last query calls derived columns from your first query. Both your queries work great, however I do need...
  19. mkelly11

    Count Number of days across multiple records

    Thank you soooooo much!!! You are the best!!![thumbsup2]
  20. mkelly11

    Count Number of days across multiple records

    Actually I guess a better description would be that I need to group all records that are within a 30 day period of one another. For example: MemberID ServiceDate 123456 01/01/03 123456 03/21/03 123456 03/24/03 123456 03/25/03 123456 04/01/03 In this...

Part and Inventory Search

Back
Top