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 strongm 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. jluost1

    Query from two tables in a dataset

    My dataset has two tables: Skills and Employee_Skills. Skills has a complete list of SkillName. Employee_Skills has a list of SkillName that an employee has obtained. They are from different databases, and the two tables are filled using dataAdapter with separate DB connections. Now I want to...
  2. jluost1

    How to include ASP file in C#

    I have a company-wide authentication standard page written in classic asp (sign_on.asp). In my classic ASP applications, I just include "sign_on.asp" in the first line of every page and the authentication is taken care of. Now I have a ASP.net (2.0) with C# Web application. I cannot include the...
  3. jluost1

    Connect to IIS Log: No items found

    I tried to connect CR to my IIS Log. When I clicked "Web/IIS Log Files", it prompted me to select a directory. I selected the mapped drive I created that links to my IIS server. The directory's name is like "//testserver/C$/Systems32/W3C.../". The connection is done, but there are no items...
  4. jluost1

    VBA: Retrieve AutoDesk Map data source

    I didn't add CAO 1.0 Type Library. Let me give it a try. Thank you.
  5. jluost1

    VBA: Retrieve AutoDesk Map data source

    Thanks, but I am asking how to get the source of data (like c:\temp\test.mdb). Once I got the data source, I know how to build connection string and so on. Any thoughts?
  6. jluost1

    VBA: Retrieve AutoDesk Map data source

    I am using Autodesk Map 2005 and I opened a dwg file and attached an Access database (C:\temp\abc.mdb) through the menu Map->Data Source -> Configure. Now I want to retrieve the data source (C:\temp\abc.mdb) via VBA code, but I don't know how. I have looked at Database object and ModelSpace...
  7. jluost1

    Autodesk Database to XML with VBA

    I am using autodesk Map 3D 2005. I need to create a macro inside the autodesk Map. This vba macro will make connection to database as appears in "data source", extract the data in the database, and save the data into a xml file sequencially (read data and always append to the end of the file)...
  8. jluost1

    Backup 300G DB: Error 601

    I performed backup from Enterprise Manager: right click on database -> All tasks ->backup database. Then it took about 10 minutes to get the first Backup Wizard screen.
  9. jluost1

    Backup 300G DB: Error 601

    I have a problem with backing up 300G DB. It is SQL Server 2000, the MDF(50MBs) is in C drive, one NDF(33,000MBs) and one LDF (21G) are in F drive. The index files are in F drive too. The backup mode is "Full". When I tried to back it up in Enterprise Manager, after 10 minutes of running, I got...
  10. jluost1

    A Challenge: Join nodes and group by attribute

    Let me repost it with the valid XML: My XML structure: --------------------------- <INVOICE> <TASKS> <TASK ID=&quot;1000&quot; NUMBER=&quot;01.A001&quot;/> <TASK ID=&quot;2000&quot; NUMBER=&quot;01.A002&quot;/> <TASK ID=&quot;3000&quot; NUMBER=&quot;01.B001&quot;/>...
  11. jluost1

    A Challenge: Join nodes and group by attribute

    My XML structure: --------------------------- <INVOICE> <TASKS> <TASK ID=1000 NUMBER=&quot;01.A001&quot;> <TASK ID=2000 NUMBER=&quot;01.A002&quot;> <TASK ID=3000 NUMBER=&quot;01.B001&quot;> <TASK ID=4000 NUMBER=&quot;01.B005&quot;> </TASKS> <LINE>...
  12. jluost1

    Exit stored procedure

    How do I stop execution inside a stored procedure immediately after a certain line, just like EXIT does in a loop? What I need is: ------------------- procedure my_procedure() is begin ... IF my_cursor%NOTFOUND THEN -- exit; end if; ... end; ---------------------- Thanks.
  13. jluost1

    Function Return Type: Can it be plsql Table

    An example: ---------------------- TYPE task_rec_type IS RECORD (id NUMBER, name VARCHAR2(25)) TYPE task_tbl_type IS TABLE OF task_rec_type INDEX BY BINARY_INTEGER; --------------------- Question: Can I have the function: FUNCTION load_table(p_task_id IN NUMBER) RETURN task_tbl_type IS ...
  14. jluost1

    Urgent: load data into TABLE TYPE table

    That's wonderful! Thanks a million, folks. I got a big package to write and my several tables have nearly 100 columns. The code will definitely help me to make it shorter and neater and faster.
  15. jluost1

    Urgent: load data into TABLE TYPE table

    Check the following: ---------------------- TYPE task_rec_type IS RECORD (id NUMBER, name VARCHAR2(25)) TYPE task_tbl_type IS TABLE OF task_rec_type INDEX BY BINARY_INTEGER; --------------------- I have a table (tasks) in database with two columns(id, name). Now I want to select records from...
  16. jluost1

    Object not belong to DBO

    Thank you. That works. But I don't understand why I need to do this. Doing this way requires me to do it on all the objects (tables and SPs). That's a pain. So, two more questions: (1) I connect QA as myLogin(sysadmin and db_owner), all objects are owned by myLogin. Since myLogin is sysadmin...
  17. jluost1

    Object not belong to DBO

    Thank you both. I connect QA with &quot;mylogin&quot; account, which is DB_owner and sysadmin. Under myDatabase, I ran the following: sp_changedbowner [mylogin], [dbo] Then I got the following error: &quot;The proposed new database owner is already a user in the database.&quot; When I...
  18. jluost1

    Object not belong to DBO

    I restored a database from a backup file on the other server. Then I ran sp_auto_fix_login to fix the logins on the new server. I need to run tens of stored procedures (with a single call) developed by our vendor and all the procedures and other referrenced objects have [dbo] as...
  19. jluost1

    Something like RS Filter and Bookmark in T-SQL?

    I forgot to type &quot;Subject&quot; in my previous post. Here I post it again. I have a table (&quot;title&quot;) that stores tree-structure info: -------------------------------------- id name parent_id has_child 0 CEO -1 1 1 VP-Finance 0...
  20. jluost1

    I have a table (&quot;title&quot;) that store

    I have a table (&quot;title&quot;) that stores tree-structure info: -------------------------------------- id name parent_id has_child 0 CEO -1 1 1 VP-Finance 0 1 2 VP-CIO 0 1 11 Controller 1...

Part and Inventory Search

Back
Top