• Oracle query to count rows in tables

    Does anyone have a PL/SQL script to count the rows in all the tables in a given schema? No use reinventing the wheel... TIA, Mike

    Mikron20 pointsBadges:
  • Integrating Connect:Direct with Sql Server DTS

    Don't know if any body has managed to - but i need to start a C:D process from within a DTS script. all the components are working independantly - however DTS waits indefinitely for the C:D process to finish - it does not seem to receive the return code. (or process it properly) Any Help/ideas much...

    UselessOne0 pointsBadges:
  • Spaces in Linux is getting Interpreted as ‘@’

    Hi All Need some help. I use the BCP out command to transmit data from SQL Server database table and send it to flat files. The spaces (varchar datatype in table) gets transmitted as spaces only. When I use Linux command to get these files, out of 20,000 spaces , 1 space got interpreted as '@'. Can...

    Bakash0 pointsBadges:
  • Automatically Force User Disconnects via Scheduled Script

    Greetings all ... What is the most efficient automated script-based approach to terminate user connections for "particular" databases? Where: 1. Know name of database(s) 2. Know name of user(s) 3. Do not know name of user(s) 4. Server must always remain in production and user(s) must not be...

    Ericggordon0 pointsBadges:
  • Counting Problem – SQL Server 2000

    Counting Records - SQL Server 2000 I need to count rooms sold. The problem is that a room can be sold more than once for any given trip. How can I retrieve all records including one instance where the room has been sold multiple times on a given trip? Example: Inv. Trip Room 1 A50805 201 2 A50805...

    Mpatdweb0 pointsBadges:
  • Removing spaces between two words in SQL

    Hi, I have a table called employee and column called Name. The column Name contains (firstname lastname)i.e. firstname 'space' lastname. I want to retrieve just the firstname from the column Name for ALL the employees. I have tried using the function "substring" but since the firstname can be of...

    Kpatel0 pointsBadges:
  • sqlserver 2000 stored procedures

    Hi , i have the unfortunate task of time to integrate microsoft sql server 2000 stored procedures to mysql so that our software will work. Can anybody tell me if this can be done, if so how easy is it and how do i go about it? Thanks for your help andy

    Andy119830 pointsBadges:
  • REPORT WAIT TIMES

    We have a commercial accounting software package programmed in Access. Recently began having to wait for some reports to process to the screen for over 3 minutes. We have only had this software for under a year and have eliminated the problem being the network by moving the data files from the...

    Jmoeller0 pointsBadges:
  • Urgent!Please help: TOP 3 cities only returned based on count() – result

    I have three tables: Country, City, Restaurant. I would like to have a query that first calculates how many restaurants are for each city. I would only want to return those three cities for each country which has the most number of restaurants. Country-table: countryid, countryname City-table:...

    Ronjar0 pointsBadges:
  • SQL Trigger to create .csv file

    I need to create a .csv file out of table A upon the insertion of a record into table B. It seems to me that this should be easy to accomplish, but the only answer I can get from anyone is to do a scheduled DTS package, which means we are dumping this table every couple of minutes all throughout...

    Zannemarie0 pointsBadges:
  • Oracle ./runInstaller problem

    Dear Oracle Experts, I came across the following problem when trying to update my Oracle 9.2 to Oracle 9.2.0.4 When I typed > ./runInstaller for the Oracle 9.2.0.4 patch. I get the following error. "You do not have permission to write to the inventory /oracle/product/db/920/$ORACLE_HOME....

    Asiankiwi0 pointsBadges:
  • Exporting Data to Text/CSV file in SQL Server 6.5

    Hi, I would like to know how do we Export Data to Text/CSV file in SQL Server 6.5 Do we have something similar to DTS in SQL Server 2000? Thanks, Kruti

    Kpatel0 pointsBadges:
  • Accessing Linked Server in SQL Server 2000 (Urgent)

    I have a server named say 'SRVMAIN'. Using Enterprise Manager I added a linked server 'LNKDSRVR1' (existing server). I m able to access any database in 'LNKDSRVR1' by writing a query in query analyzer of 'SRVMAIN' as SELECT * FROM LNKDSRVR1.TESTDB.DBO.TESTTABLE Now if I have server as...

    Bakash0 pointsBadges:
  • SQL Server equivalent of Oracle’s desc tablename command

    Thank you all for the response to my previous query. What is the T-SQL equivalent of Oracle's desc command? I mean, what is the command in T-SQL to see the structure of a particular table? And what do we do in T-SQL if we want to see list of all the tables in a particular database?

    Kpatel0 pointsBadges:
  • Difference between SQL and T-SQL(Microsoft SQL Server 2000)

    What is the difference between SQL and T-SQL(used by Microsoft SQL Server 2000)?

    Kpatel0 pointsBadges:
  • Database comparison

    I know this is 'cheating' but i was wondering if anybody had a quick way to compare two SQL2000 databases at an object level. I need to check the design of tables, code in Sp's etc. I think this can be done using systables, however i was wondering if anybody had done this and how easy it was. All...

    UselessOne0 pointsBadges:
  • Convert date format from UTC to PST in SQL

    HI Friends Is there any way to convert date format from UTC to PST? Thanks and Regards Ashu

    Ashug8bangalore0 pointsBadges:
  • Returning Multiple result sets to Excel

    I need to return a full result set including a number of Sum(s) Max(s) etc to an excel spreadsheet (don't ask why) from a Stored procedure on MS SQL2000. Problem is that Xcel can only handle a single result set per sheet... Any Ideas?

    UselessOne0 pointsBadges:
  • Front-End Reporting Tools for Secure Web Service Application with MS-SQL server

    Hi... We are a Cdn Govt agency involved in Satellite Operations with a commercial partner based across the country. We will need to build/buy a small web service application for reporting purposes that will require minimal IT experise to build or maintain. The back end RDBMS engine is built with MS...

    Mmosystem0 pointsBadges:
  • Calling all SQL Server experts!

    My name is Catherine Ketcher; I am a TechTarget editor in the process of launching a new site targeted to IT professionals using MS SQL Server. I am looking for SQL Server experts to participate on the site. I need experts interested in writing tips and/or answering questions in our 'Ask the...

    CathyK0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following