Group by a time (Or SQL Server dateadd needed in Oracle)

Hi Folks,
Got a table that has a datetime column (Lets call it sign_up_date), I want to be able to report on five minute intervals ie. break each hour into 12 5 minute intervals and then provide a count of records in each 5 minute period, like
Select 5_min_interval,count(*)
from blah
group by etc.....
I'm sure there's an easy answer but I can't see it.

I'm sure there's an easy answer but I can't see it.Because you don't [url http://forums.oracle.com/forums/search.jspa?objID=f75&q=5+minute+interval]search
Best regards
Maxim

Similar Messages

  • Migrating from MS SQL Server 2005 database to Oracle 10g

    Hello,
    I wanted the full procedure or steps to Migrate the MS SQL Server 2005 database to Oracle 10g. Is there a known procedure to do this or is there a tool which is used?
    I have not done migration of database from MS SQL Server to Oracle. Any help is appreciated. Thanks a lot for the time.
    Regards,
    RPS

    Wrong forum, go to the database forum!
    cu
    Andreas

  • Extract the data from SQL Server and Import into Oracle

    Hi,
    I would like to run a daily job that will export the table data from SQL server table (it will be only one or two table) and Import back into Oracle table (it might one or two table tables).
    Could you please guide me that how can i do this using either sql server or oracle?
    We have oracle 9.2 and sql server 2005.
    Normally i do from flat file which is generated by source destination nand i dump into oracle using sql*loader but this time I have to directly extract/export the data from MS Sql server and load into Oracle table, mostly it will reload so i might doing any massaging data during the load.
    If you show me the detail approach, it will be really appreciated.
    I have access to Sql server but i don't how to use sql server to do this or using oracle as a daily job even becuase have to schedule the job for this as it will be a daily job.
    Thanks,
    poratips

    Unless you can find an open source ODBC driver for SQL Server that runs on Solaris (and I wouldn't be overly hopeful there) Heterogeneous Services would require that you license something-- a third party ODBC driver, a new Oracle instance, or an Oracle Transparent Gateway.
    As I stated below, you could certainly use SQL Server's ETL tool, DTS. Oracle's ETL tools would require additional licensing since you're just on 9.2. You could also write a small application (Java or otherwise) that connected to both databases and transferred the data. If you're particularly enterprising, you could load the SQL Server Type 4 JDBC driver into Oracle's JVM and write a Java stored procedure that connected to the SQL Server database via JDBC, but that's a pretty convoluted approach.
    Justin

  • Need advice, sql server with asp or oracle with asp

    hi !
    i have been given a task to improve the design of a sql server database with more than 1 million records, front end is asp (code has to be written also, keeping user interface same). I would like to use oracle with asp, is it practical or should i go for sql server. i need your advice.
    thanks in advance
    lavinder

    Depends on your definition of "practical".
    My guess is that most of the work will be porting your back-end code from SQL*Server to Oracle. The Migration Workbench can help here, but there are often things that you do in SQL*Server code that you really don't want to do in Oracle code (i.e. frequent commits).
    There is a good chance that you'd be able to improve the scalability of the application faster by fixing the problems that exist in the SQL*Server implementation. I think Oracle is inherently a much more scalable platform than SQL*Server, however, so I'm not trying to dissuade you from moving. It really depends on the end state you need to achieve and the amount of time & effort you're willing to put forward.
    Justin

  • Sql Server Management Assistant (SSMA) Oracle okay for large database migrations?

    All:
    We don't have much experience with the SSMA (Oracle) tool and need some advice from those of you familiar with it.  We must migrate an Oracle 11.2.0.3.0 database to SQL Server 2014.  The Oracle database consists of approximately 25,000 tables and 30,000
    views and related indices.  The database is approximately 2.3 TB in size.
    Is this do-able using the latest version of SSMA-Oracle?  If so, how much horsepower would you throw at this to get it done?
    Any other gotchas and advice appreciated.
    Kindest Regards,
    Bill
    Bill Davidson

    Hi
    Bill,
    SSMA supports migrating large database of Oracle. To migrate Oracle database to SQL Server 2014, you could use the latest version:
    Microsoft SQL Server Migration Assistant v6.0 for Oracle. Before the migration, you should pay attention to the points below.
    1.The account that is used to connect to the Oracle database must have at least CONNECT permissions. This enables SSMA to obtain metadata from schemas owned by the connecting user. To obtain metadata for objects in other schemas and then convert objects
    in those schemas, the account must have the following permissions: CREATE ANY PROCEDURE, EXECUTE ANY PROCEDURE, SELECT ANY TABLE, SELECT ANY SEQUENCE, CREATE ANY TYPE, CREATE ANY TRIGGER, SELECT ANY DICTIONARY.
    2.Metadata about the Oracle database is not automatically refreshed. The metadata in Oracle Metadata Explorer is a snapshot of the metadata when you first connected, or the last time that you manually refreshed metadata. You can manually update metadata
    for all schemas, a single schema, or individual database objects. For more information about the process, please refer to the similar article: 
    https://msdn.microsoft.com/en-us/library/hh313203(v=sql.110).
    3.The account that is used to connect to SQL Server requires different permissions depending on the actions that the account performs as the following:
     • To convert Oracle objects to Transact-SQL syntax, to update metadata from SQL Server, or to save converted syntax to scripts, the account must have permission to log on to the instance of SQL Server.
     • To load database objects into SQL Server, the account must be a member of the sysadmin server role. This is required to install CLR assemblies.
     • To migrate data to SQL Server, the account must be a member of the sysadmin server role. This is required to run the SQL Server Agent data migration packages.
     • To run the code that is generated by SSMA, the account must have Execute permissions for all user-defined functions in the ssma_oracle schema of the target database. These functions provide equivalent functionality of Oracle system functions, and
    are used by converted objects.
     • If the account that is used to connect to SQL Server is to perform all migration tasks, the account must be a member of the sysadmin server role.
    For more information about the process, please refer to the  similar article: 
    https://msdn.microsoft.com/en-us/library/hh313158(v=sql.110)
    4.Metadata about SQL Server databases is not automatically updated. The metadata in SQL Server Metadata Explorer is a snapshot of the metadata when you first connected to SQL Server, or the last time that you manually updated metadata. You can manually update
    metadata for all databases, or for any single database or database object.
    5.If the engine being used is Server Side Data Migration Engine, then, before you can migrate data, you must install the SSMA for Oracle Extension Pack and the Oracle providers on the computer that is running SSMA. The SQL Server Agent service must also
    be running. For more information about how to install the extension pack, see Installing Server Components (OracleToSQL). And when SQL Express edition is used as the target database, only client side data migration is allowed and server side data migration
    is not supported. For more information about the process, please refer to the  similar article: 
    https://msdn.microsoft.com/en-us/library/hh313202(v=sql.110)
    For how to migrate Oracle Databases to SQL Server, please refer to the  similar article: 
    https://msdn.microsoft.com/en-us/library/hh313159(v=sql.110).aspx
    Regards,
    Michelle Li

  • Sql Server Reporting  services with ORACLE

    We are thinking of using Sql Server Reporting servicesvwith an ORACLE DB.
    I will like to know the pros and cons.
    Any advice would be appreciated..
    Thanks alot.

    Hello,
    You'll find many doc, examples, demos ... on OTN :
    http://www.oracle.com/technology/products/reports/index.html
    http://www.oracle.com/technology/documentation/reports.html
    http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=ALP&col=ALC&submit=Search
    For the Ref Cursors :
    Oracle® Reports Building Reports
    10g Release 2 (10.1.2)
    B13895-01
    40 Building a Paper Report with REF CURSORs
    Regards

  • Migration from sql server 2005 tables to oracle tables.

    Hi,
    Kindly give the steps to migrate from sql server 2005 tables to oracle tables.
    Kindly advise
    Oracle database version:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE 10.2.0.1.0 Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Edited by: 873127 on Jul 18, 2011 9:46 PM

    Are you migrating or taking continual updates?
    If migrating it might be worth considering The SQLDeveloper Migration Workbench (which moves more than just data)..
    http://www.oracle.com/technetwork/database/migration/sqldevmigrationworkbench-132899.pdf
    Cheers
    David

  • Replication SQL Server 7 Database to Oracle 9i

    Hi -
    I'm new to Database Replication, what are the steps for database replication from a MS SQL Server 7 database to Oracle 9i? Eventually this SQL Server Database will be going to SQL Server 2000 are the steps different, if so what are they?
    Thanks
    Much

    I do not what you mean with Replicate between SQL Server and Oracle. Perhaps you mean migrate from SQL Server to Oracle or to stablish a transparent gateway.
    I am going to give you this reference:
    Migration Workbench Reference Guide for Microsoft SQL Server and Sybase Adaptive Server Migrations Contents / Search / Index / PDF
    Heterogeneous Connectivity Administrator's Guide Contents / Search / Index / PDF
    http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
    Joel P�rez

  • Migrating MS SQL Server 7.0 TO Oracle 8.1.5

    Hello,
    We are currently using Win NT 4.0, MS SQL Server with a PVCS Tracker 6.0 from Merant and will be upgrading to PVCS Dimension 6.0 from Merant.
    The Dimension 6.0 product runs on Win NT 4.0, uses Oracle Server 8.1.5 with Oracle 8 ODBC Driver 2.5.3.1.0
    I need to migrate MS SQL Server 7.0 To Oracle 8.1.5. Do you have a migration procedure available?
    Thanks!
    TP

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Oracle Migration Workbench Team:
    The Oracle Migration Workbench will assist you in the Migration of the SQL*Server 7 DB. It is available as a free download from this site.
    <HR></BLOCKQUOTE>
    null

  • Migrating SQL Server 7.0 to Oracle 8i in Different Operating Systems

    I am migrating SQL Server 7.0 Databases on NT to Oracle 8i on Sun 2.6. Is there is any other way other then Migration Workbench.
    If Mig Workbench is OK. What are the steps to do Migration.
    null

    Hi,
    You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
    You can then configure the workbench to point to the oracle database on your Sun machine.
    You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
    In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
    You then need to create a user in your oracle database that will store the workbench repository.
    Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
    It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
    Regards
    John

  • Migration from MS SQL Server 7.0 to ORACLE 7.3

    I am unable to download WorkBench. Does it support the migration from MS SQL Server 7.0 to ORACLE 7.3 anyway.

    Actually, I have to do the conversion from MS SQL Server 7.0 to ORACLE 7.3. I am thinking to do migration firt then do the conversion by writing the packages. Is there any other way to do it......
    I am unable to download WorkBench. Does it support the migration from MS SQL Server 7.0 to ORACLE 7.3 anyway.

  • Migration from sql-server 7.0 to oracle 8i

    Hai,
    I have one huge database in sql-server 7.0.
    That database has chienese,arabic and korean data. And i have created one database in oracle 8.1.6 with character set UTF8.
    By using migration work bench i couldn't transfer sql-server data into oracle 8.1.6 database which has character set utf8.
    But i have managed to transfer sql-server 7.0 to oracle 8.1.6 database which has us7ascii character set.
    Please give me the steps to transfer from sql-server 7.0 to oracle 8.1.6 database which has the character set utf8.
    I need it very very urgetnt.
    Best Regards,
    Sudhir.

    I understand that it would not be in the best interests of Oracle, monetarily that is (at least in the visible/tangible sense), to develop such a migration tool, but since the competition hasn't, why shouldn't you? I'm sure Prabha's not the first to inquire of such a thing, and I'm sure I'd have asked a similar question if I wasn't responding to you in this way. We all know Oracle is the better db - That's why we're here talking about it - but not everyone we do business with understands that, so establishing a two way street is the best way, short of requiring it of our clients, to turn them on to Oracle. I don't really think developing such a thing would hurt your business (unless MS can keep you from doing it). If your product is that much better (which we agree is true), you shouldn't be afraid of the competition. As for being afraid of proprietary constraints, I can't blame you, because I don't know how much it constrains you.
    -Val
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by The Oracle Migration Workbench Team:
    Hi Prabha,
    My first reaction to your question would be "why would anyone want to migrate FROM Oracle and TO SQLServer ?". Oracle is easily the better database !
    ...but no, I don't really think it would be in Oracle's best interests to produce a migration tool that moved users to a propritory Microsoft product/platform..<HR></BLOCKQUOTE>
    null

  • Conversion from SQL Server 7.0 to Oracle 8 -- Urgent!!

    Hi!
    I've an urgent task of migrating data from SQL Server 7.0 to
    Oracle 8 for Oracle Financials Application. When is the
    Migration Workbench for SQL Server 7.0 is going to be released,
    please let me know?
    And the other question is -- Is there a possiblity that only few
    tables from the legacy system can be migrated into Oracle 8? and
    if yes, how -- details please?
    Thanks,
    Neeta.
    null

    Neeta Singh (guest) wrote:
    : Hi!
    : I've an urgent task of migrating data from SQL Server 7.0 to
    : Oracle 8 for Oracle Financials Application. When is the
    : Migration Workbench for SQL Server 7.0 is going to be released,
    : please let me know?
    : And the other question is -- Is there a possiblity that only
    few
    : tables from the legacy system can be migrated into Oracle 8?
    and
    : if yes, how -- details please?
    : Thanks,
    : Neeta.
    We plan on having a beta version of this capability in early
    August. Contact [email protected] if you want to register as
    a Beta tester.
    Yes, you can update the Oracle model in OMW to remove those
    tables you are not interested in, you can also select to just
    migrate tables & data and nothing else.
    Donal
    null

  • Migration from SQL Server 7.0 to Oracle 9i

    Hi,
    Where can i find whitepapers for migrating from SQL Server
    7.0 to Oracle 9i?
    Thanks in Advance

    hi,
    Download the Oracle Migration Workbench from this site. There is
    a reference guide and online help available with the SQL Server
    7.0 plugin.
    Also, there is a documentation link under the Oracle Migration
    Workbench section.
    Regards
    John

  • Migration from SQL Server 7.0 to Oracle 8.0.5

    Can we migrate from SQL Server 7.0 to Oracle 8.0.5 directly without being converted to Oracle 8i objects

    Hi,
    U can convert from sql server to Oracle 8 but u've to look after the stored procedures in mssql server. If the stored procedures contains any temporary table concepts and resultset then some manual changes are required.
    Thanx,
    Durai.
    null

Maybe you are looking for

  • DC Activation Problem in CBS

    Hello, I am facing DC Activation problems in CBS. - We have two DC utils and config. The config DC uses utils DC and everything is working fine locally - Today we are migrating these local projects in NWDI. - I created new DCs in NWDI and copied the

  • Startup screen on my 24" iMac freezes. Gray dial below the gray apple stops and that's it

    am using 10.4.11.  24/2.33/2 x 1GB/256VRam/240/SD I start the computer, the gray apple shows and the gray circle of lines starts spinning. Then freezes and nothing.  It does this with a computer startup, with a safe startup, and with the system disk

  • Message "no administrator found"

    Hello All, i am getting message in my inbox ( SBWP)  <b>"no administrator found"</b>. work item i am accessing is in READY status with me there are 2 more users which are assigned to the position. when i click on the work item in my inbox i get this

  • Attendance recording integration with external system

    Hi, there is a scenario where an employee punches in and out to enter and leave his office. This information like employee number, date, mode(in/out) etc is collected in a flat file. How this information can be captured in R/3? Do we need IDOC or XI

  • Attending XI course TBIT 400-suggestion

    Hi all, I am planning to attend XI - TBIT 400 course in the coming weeks. As a part of better utilization of my money, I would like to ask you guys for suggesting me a good instructor. I am not sure if I can get information beforehand reg who my inst