SQL and time online

Hello

We keep our data as follows table

IDproject_NrNotestart_timeend_time
Person11work06:0008:00
Person11prepare the document09:0014:00
Person12work14:0015:00
Person13Research15:0017:00
Person11writing code17:0018:00
Person21work09:0012:00
Person21prepare the document13:0018:00
channels31writing code09:0017:00
channels32prepare the document19:0022:00
Individu43writing code08:0012:00
Individu44ready workflow13:0017:00
Individu41Meeting17:0018:00

and I want to convert - organize the data in a structure like this

project_Nr06:00 - 07:0007:00 - 08:0008:00 - 09:0009:00 - 10:00…..14:00 - 15:0017:00 - 18:00
11 person103 person….13
20000….10
30011….11
40000..10

How can calculate workers number of hours by the number of people working in the project with sql.

or total work by hours of range time

is this possible?

Best regards

OK, I made a few assumptions.

(a) you have your time stored as strings (this is a bad thing and ideally should not be the case, they should be to DATE)

(b) a person cannot do two things at the same time so where for example the 1 person finishes a task at 14:00 and begins another at 14:00 the beginning has priority i.e. task person 1 was from 09:00 to 13:59 instead of 09:00 to 14:00.

SQL > ed
A written file afiedt.buf

1 with t (id, project_nr, note, start_time, end_time) as long as)
2 Select "Person1", 1, 'work', ' 06:00 ', ' 08:00 ' Union double all the
3 select "Person1", 1, "preparing the document', ' 09:00 ', 14:00 ' Union double all the
4 Select "person1", 2, 'work', 14:00 ', 15:00 ' Union double all the
5 Select "person1", 3, 'research', 15:00 ' 17:00 ' Union double all the
6 select "person2", 1, 'work', ' 09:00 ' 12:00 ' Union double all the
7 select "person2", 1, "preparing the document", 13:00 ' 18:00 ' Union double all the
8 select 'channels3', 1, 'write code', ' 09:00 ' 17:00 ' Union double all the
9 select "channels3", 2, "preparing the document", 19:00 ', 22:00 ' Union double all the
10. Select 'Individu4', 3, 'write code', ' 08:00 ', 12:00 ' Union double all the
11. Select "Individu4", 4, "work flow", 13:00 ' 17:00 ' Union double all the
12. Select 'Individu4', 1, 'meeting, 17:00 ' 18:00 ' double
13         )
14, cal (select level l, to_date('00:00','HH24:MI') + ((level-1)/24) as dt)
15 double


16 connect by level<=>
17             )
18, gen (select id, project_nr, note, start_time, end_time
19, cal.dt
20, cal.l
21 t
Join 22 cal on (cal.dt > = to_date(start_time,'HH24:MI'))
23 and cal.dt<>
24                                 )
25             )
26-
27 end of test data
28-
29 select project_nr
Note 30,
31, sum (case when l = 1, 0 else 1 end) as "00:00".
32, sum (case when l = 2, then 1 else 0 end) as "01:00".
33, sum (case when l = 3, then 1 else 0 end) as "02:00.
34, sum (case when l = 4 then 1 else 0 end) as '03:00.
35, sum (case when l = 5, then 1 else 0 end) as "04:00.
36, sum (case when l = 6 then 1 else 0 end) as "05:00.
37, sum (case when l = 7 then 1 else 0 end) as "06:00.
38, sum (case when l = 8, then 1 else 0 end) as "07:00.
39, sum (case when l = 9 then 0, otherwise 1 end) as '08:00.
40, sum (case when l = 10 then 1 else 0 end) as "09:00.
Sum 41, (case when l = 11, then 1 else 0 end) as "10:00".
42, sum (case when l = 12 then 1 else 0 end) as "11:00.
43, sum (case when l = 13 then 1 else 0 end) as "12:00".
44, sum (case when l = 14 then 1 else 0 end) as "13:00.
45, sum (case when l = 15 then 1 else 0 end) as "14:00".
46, sum (case when l = 16 then 1 else 0 end) as "15:00".
47, sum (case when l = 17, then 1 else 0 end) as "16:00".
48, sum (case when l = 18, then 1 else 0 end) as "17:00.
49, sum (case when l = 19 then 1 else 0 end) as "18:00.
50, sum (case when l = 20 then 1 else 0 end) as "19:00.
51, sum (case when l = 21, then 1 else 0 end) as "20:00".
52, sum (case when l = 22 then 1 else 0 end) as «21:00»
53, sum (case when l = 23, then 1 else 0 end) as "22:00.
54, sum (case when l = 24 then 1 else 0 end) as "23:00".
55 Gen
56 by project_nr group, notes
57 * order in project_nr, note
SQL > /.

PROJECT_NR NOTE FROM 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00
---------- ------------------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------ ------
1 meeting                 0      0      0      0      0      0      0      0      0      0      0  0      0      0      0          0      0      1      0      0      0      0      0      0
1 prepare the document 0 0 0 0 0 0 0 0 0 1 1 1 1 2 1 1 1 1 0 0 0 0 0 0
1 working                 0      0      0      0      0      0      1      1      0      1      1  1      0      0      0          0      0      0      0      0      0      0      0      0
1 writing code            0      0      0      0      0      0      0      0      0      1      1  1      1      1      1          1      1      0      0      0      0      0      0      0
2 prepare the document 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0
2 working                 0      0      0      0      0      0      0      0      0      0      0  0      0      0      1          0      0      0      0      0      0      0      0      0
3 searching               0      0      0      0      0      0      0      0      0      0      0  0      0      0      0          1      1      0      0      0      0      0      0      0
3 writing code            0      0      0      0      0      0      0      0      1      1      1  1      0      0      0          0      0      0      0      0      0      0      0      0
4 established workflow 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0

9 selected lines.

A also assumed you wanted to see the separate tasks by project broken down.

Tags: Database

Similar Questions

  • Expiration date and time in SQL server 2008 Enterprise Edition

    Please tell me the exact expiration Date and time in SQL Server 2008 Enterprise, and 2008R2 edition?

    Please tell me the exact expiration Date and time in SQL Server 2008 Enterprise, and 2008R2 edition?

    Hello

    Please post this question in the SQL Server forum.

    Category of the SQL Server:

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer

    Concerning

  • How to access a certain date in the date and time field SQL Server

    I have a field named job_date in a table in my database of the 8 SQL Server.

    The data type is datetime.

    Thus, the values for the fields as the 2013-03-11 15:55:52.000 look.

    How to query this field to include only the values of a certain date?

    For example

    < cfquery name = "get_job_name" datasource = 'abc' >

    SELECT FROM job_info job_date WHERE Job_name = March 12, 2013"

    < / cfquery >

    When I query the field now I get NO RECORDS.

    This is because as the fields like this 15:55:52.000 2013-03-11. instead of this March 12, 2013"

    How to access a certain date in the date and time field SQL Server when its formatting as this 15:55:52.000 2013-03-11. ?

    where job_date > = TheDateYouWant

    and job_date<>

    In addition, the format is irrelevent.  The only issue of date formats time is when you want to display.

  • Online tutorial of SQL and PL/SQL

    Hello
    Anyone know any good SQL and PL/SQL tutorial online for free? I googled through and find some, I just want to know if I'm missing something.

    Much appreciated,
    Valerie

    Hello Valerie

    Maybe you can try this

    [http://www.w3schools.com/SQl/default.asp]

    or maybe this

    [http://www.sql-tutorial.net/]

  • learning SQL and pssql, xml, forms and report

    I learned sql and plsql I donot Xml and forms and reports learn by own by easy method

    by sql and psql we learned basic on the rise, things of time ranging from online book (another way to practice and understand the concepts)

    repo, xml, sql, forms and pssql of learning javascript:; rt learning SQL and pssql, xml, forms and reportfor beginners

  • How can I stop firefox keep my email and facebook online password?

    How can I stop firefox keep my email and facebook online password?

    This has happened

    Each time Firefox opened

    is last week

    Tools > Options > Security > then remove the check mark next to «do not forget passwords for sites»

  • Problem with WSUS after upgrade of SQL and SCCM

    A few years ago, we implemented SCCM 2012 R2 on a virtual machine running Server 2008 R2 (Enterprise), using 2012 SQL for databases.  We use it for software deployment, updates/patches via WSUS and imagery of the network.  Everything is smooth enough for most, even if we hit a few snags Windows 10 points when that came out.  After you install the patches and updates to our Server 2008 box to make it compatible with Windows 10 content, everything was good again.  A few weeks ago, I decided to update our version of SCCM 1511 and SQL for 2014.  After the two updates, I tested imaging and software deployment, and everything seemed good.  I forgot WSUS, however... and later visited account it was not working properly for these updates.  Unfortunately, I realized after I deleted the VM snapshot, I got to thinking that everything was good (stupid, I know).  After researching and discovering some of the errors were permissions associated with - why would have changed the permissions on folders of SQL and SCCM upgrade I have no idea - those who have since been smoothed.  Now, my mistakes seem to be related SQL more and I hit a dead end with research.  When I opened WSUS and go look at the clocks, he tries to load the history of synchronization, and after a few minutes-error with the following information:

    The WSUS administration console failed to connect to the WSUS server database.

    Verify that SQL server is running on the WSUS server. If the problem persists, try restarting SQL.

    System.Data.SqlClient.SqlException - Timeout expired.  The delay before the end of the operation or the server is not responding.

    WARNING: The join order has been applied because a local join hint is used.
    Source .Net SqlClient data provider
    Stack trace:

    to Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow (SoapException-soapException)

    at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPGetSummariesPerUpdate (String computerTargetScopeXml, String preferredCulture, String updateScopeXml, ExtendedPublicationState publicationState)
    at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetSummariesPerUpdate (UpdateScope updatesToInclude, ComputerTargetScope computersToInclude)
    at Microsoft.UpdateServices.UI.AdminApiAccess.BulkUpdatePropertiesCache.GetUpdateSummaries (UpdateScope updateScope, ComputerTargetScope computerTargetScope)
    at Microsoft.UpdateServices.UI.AdminApiAccess.BulkUpdatePropertiesCache.GetAndCacheUpdates (ExtendedUpdateScope updateScope, ComputerTargetScope computerTargetScope)

    at Microsoft.UpdateServices.UI.SnapIn.Pages.UpdatesListPage.GetListRows)

    I found a few forums that suggest to uninstall WSUS and delete the database, and then reinstall WSUS.  Unfortunately, when I try install fails... giving only an error code and no other explanation of why.  The error is 0 x 80070643, which is supposed to be due to the current user not having the "sysadmin" in SQL.  However, I have tried with several accounts I checked to make you have the sysadmin role in SQL (and are also part of the Administrators group on the server itself)-always get the same error message.

    I would really like to try to find that rather than wasting his time with the construction of a new server and redo our whole SCCM environment... get the client reinstalled on all our machines to synchronize with a new server appears as a huge headache.  Is there anyone else out there who know what would cause this?  Any help would be greatly appreciated!

    Hello

    This community is for users.

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    SQL Server TechNet forums.

    https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

    See you soon.

  • Need to reset the date and time

    My system has decided that it is Jan.4th 2004 and everytime I turn it on, I need to reset the date and time. How can I cure this?

    Packard Bell's Web site does not recognize the 'ALT' CO2 as a model.  Despite this, however, PB seems only to provide a 'generic user guide"which is not described the replacement of the motherboard or the battery at all.  In fact, the only thing he has to say about batteries is be careful how get rid you of them.

    Your computer is a laptop or Desktop/Tower computer?

    If you have a desktop/Tower computer, you can look here--> http://www.uktsupport.co.uk/pb/mb/pbmb.htm and see if you can identify the motherboard used in your computer.

    However, if you have a desktop/Tower computer, the best thing to do is to unplug your computer from the network and, taking the precautions perfectly static electricity, open the box and inspect the motherboard yourself.

    A newish mother on the above site, http://www.uktsupport.co.uk/pb/mb/cosmos.htm, shows the battery on the center line vertical and more to the left.  It's just below the 3 PCI slots.  If you have something like that, a Visual inspection should be enough to see how to remove it.  The type of battery will be engraved on the top of the battery.  In the photo, it looks like a model CR-2032, but there are several models of battery on this size.  Battery CR-2032 (or equivalent) is available in almost every pharmacy chain in the United States as well as online and stores like Radio Shack.

    The page for an old motherboard, http://www.uktsupport.co.uk/pb/mb/450.htm, indicates that the battery is a '3.0V DC Lithium soldered to the motherboard"and if that were the case, it would probably be something that you wouldn't do yourself.  However, this thread is to think that all you have to do for this particular mobo is actually finding the right type of support plug-and - battery.

    If you have a laptop, things can get quite a bit more difficult.  If you can find a different model for your computer name, you may be able to find the manual here--> http://tim.id.au/laptops/packardbell/ , but some of these manuals can not explain clearly how to get to the CMOS battery.

  • Problem of date and time! Please notify.

    My computer will not keep the exact time or dates. For this reason, my task scheduler will not run if necessary. It's also affecting also other programs. I followed all areas of assistance on my system with regard to the exchange of time. When I'm this morning he had still you 28 and time was at 16:51 AND "help?

    This has nothing to do with Windows Update features, Lynn. Try posting here: http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance

    Previous & related threads in this forum-online http://answers.microsoft.com/en-us/Search/Search?SearchTerm=date+time&CurrentScope.ForumName=Windows&CurrentScope.Filter=windows_xp-performance&askingquestion=false

  • I ran all virus time and time again and that you cannot get rid of this e-mail worm that continues to advance.

    I ran all virus time and time again and cannot get rid of this e-mail worm that continues to move forward, what I can do now, stop using hotmail?

    Hello

    Why do you think you have an e-mail worm? If you can't name it?

    If someone is Spoofing emails that appear to come from you then they probably never
    had access to your e-mail account. Instead, they have either a copy of your contacts
    list or just an email from you or one of you where you were one of the recipients. Those
    could be gleaned either your computer, the computer of a friend, or hacking
    any site or intercept an email on your behalf or to you (you may not be the main)
    (beneficiary).

    Once they have this information there is nothing you can do to avoid that they don't
    send usurped messages. Warn your friends that is happening and they
    can be entitled to install rules such as parodies are treated as SPAM or JUNK
    mail.

    I've even seen usurped by email that appears to be from a valid user name however
    This name doesn't have an e-mail account on the mail system used in parody.
    As SpiritX - AT - realmail.com may be a valid account, however, parody used
    SpiritX - AT - wrongmail.com. The latter could still be considered an email address valid
    SpiritX if it was allowed through JUNK and JUNK e-mail filtering. (The - AT - has been used
    instead of so that those addresses would not be filtered by auto responses.
    as if by magic.)

    ============================================================

    Proceed to a very thorough check for malware and then change your password by e-mail.

    The reason why you want to do this is to make sure no more hacking your computer is
    still in effect (if it has been hacked). You have changed the password once but I would
    Change it again after these checks.

    It is possible for a person to send the email that 'seems' to be of your
    account but that is not really - called "Spoofing." That means its 'Possible' emails
    were not really you, although they may have your contact list. Have someone
    who receives the e-mails to check the header to see where he is actually sent by and
    NOT only the answer to the address.

    How to read the message headers
    http://www.emailaddressmanager.com/tips/header.html

    What Email Headers can tell you about the origin of Spam
    http://email.about.com/cs/spamgeneral/a/spam_headers.htm

    E-mail spoofing
    http://en.Wikipedia.org/wiki/E-mail_spoofing

    E-mail spoofing and Phishing
    http://www.mailsbroadcast.com/email.broadcast.FAQ/46.email.spoofing.htm

    Understanding E-mail Spoofing
    http://www.windowsecurity.com/articles/email-spoofing.html

    Fraudulent emails (false)
    http://pages.eBay.com/education/spooftutorial/

    Google search - email Spoofing
    http://www.Google.com/search?hl=en&EI=FB1nS9DiNo7CsQPNhKGdAw&SA=X&Oi=spell&resnum=0&CT=result&CD=1&ved=0CAgQBSgA&q=email+spoofing&spell=1

    =============================================

    If you need search malware here's my recommendations - they will allow you to
    scrutiny and the withdrawal without ending up with a load of spyware programs running
    resident who can cause as many questions as the malware and may be more difficult to detect as the
    cause.

    No one program cannot be used to detect and remove any malware. Added that often easy
    to detect malicious software often comes with a much harder to detect and remove the payload. Then
    its best to be thorough than paying the high price later now too. Check with them to one
    extreme overkill point and then run the cleaning only when you are sure that the system is clean.

    It can be made repeatedly in Mode safe - F8 tap that you start, however, you must also run
    the regular windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone.
    (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/products/malwarebytes_free

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can
    Download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with others
    security programs. It is a single scanner, VERY EFFICIENT, if it finds something to come back
    here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp?prevx=Y  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software
    (viruses, Trojans, rootkits, etc.). who infected your computer despite safe
    what you have done (such as antivirus, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    -----------------------------------

    Original version is now replaced by the Microsoft Safety Scanner
    http://OneCare.live.com/site/en-us/default.htm

    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    ----------------------------------

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also follow these steps for the General corruption of cleaning and repair/replace damaged/missing
    system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this into the search-> find COMMAND to top box and RIGHT CLICK-
    RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker
    (SFC.exe) program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    ========================================

    Answers is a peer group supported and unfortunately has no real influence on Hotmail.

    HotMail has its own Forums, so you should ask your questions there if the above do not help resolve.

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Error message "your account has been locked" when trying to connect
    http://windowslivehelp.com/thread.aspx?ThreadId=77be7d82-a0e9-49c7-b46d-040ec654a9e2

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Display of blackBerry Smartphones 'sent' date and time, not "received".

    The problem:

    When I got my BB 8830 leave for some time (for example during a flight) or been out of coverage, messages accumulate on the server. When I log back, it retrieves all the (I'm mostly concerned about e-mail via BIS) and they all have the date & time that my BlackBerry has come online. In addition, the chronological order is not preserved, (esp. with multiple e-mail accounts). This makes it very difficult to scan my Inbox and understand what I missed and when. It is ridiculous to have 20 messages all with exactly the same date and time.

    The Question:

    Can I have my inbox show is the "sent" date and time or (even better) the data and time, were received by my mail server? Would it not different with BES?

    Thanks in advance,

    Ian

    It only shows the date and time when the message received on the device, this is normal. You can check that your messages the individual icons for your BIS BIS accounts e-mail.

  • 8600 OfficeJet pro date and time

    The control panel on my new shows HPOfficeJet pro 8600 Jan 00 00 0000 has.  How can I configure date and time for the fax of today? I can't find anything in the online User Guide or anywhere else.

    Hi bodogplf,

    I understand that you want to change the date and time on your Officejet Pro 8600.  To do this, since the home screen navigate to the second page by pressing the right arrow.  Here, you should see a button that says Setup.  Press setup and Search Preferences button.  Once you press the button Preferences the first option should be Date and time.  When you press this button, you can set your date and time which should appear on your Fax.

    If you have problems navigating the menus, re-post and I will help you.

    Thank you!

  • connect with us. Choose a network and go online to complete the device setup

    My laptop installed new updates of windows the other day.  I tried to use my laptop for the first time since updates, and he says, ' Let's get connected. " Choose a network and go online to complete the device setup. "I went to Starbucks, because I have no internet, and he tried but would not connect at all.  I don't know what to do.  I can't use my computer now.  I just need to find another source of internet to try?  (I tried a few other random public networks that did not work and would not connect as well).

    Original title: update problem

    Hello

    Please contact Microsoft Community.

    I understand that you can not choose a network.

    I will definitely help you with this.

    You use a WIFI or Ethernet connection?

    I suggest you go through the steps below:

    Steps: Try to login or to create the new configuration of the connection:

    • Press the window key + R.

    • Type ncpa.cpl and press ENTER.

    • Right-click on the network connection, and then select Enable.

    • If this does not work, then try to new network configuration.

    • Right-click on the network icon in the lower right.

    • Click to open network and sharing Center.

    • Click setup, a new connection or network.

    I hope this helps. Please post back with the State of the question and we will be happy to help you further.

  • How to recover full date format and time of cursor Variable

    Hi gurus,

    I'm having this 'cable' question.

    When I run this selection (below) of a table (a table with a date data type can be used for testing purposes)

    Select max (crt_heure_entree) in the test.var_table_date MAX_DATE

    MAX_DATE

    -----------------------

    21/12/2015-15:33:57

    When I run inside a PL/SQL block

    Declare

    CRS1 DATE;

    ..

    ...

    Select max (crt_heure_entree) as max_date in crs1 infapp.compte_rendu_traitement;

    dbms_output.put_line ('MAX_DATE... » || TO_DATE (crs1,' DD/MM/YYYY HH24:MI:SS'));)

    ...

    ...

    END;

    I get

    MAX_DATE

    -----------------------

    21/12/2015

    Problem:

    I need to get the full value date and the time to do a select and insert data between call dates and times.

    Because the variable retrieves just the date I have problems of constraint violation.

    Question:

    How can I recover the full date / time format of cursor?

    Thanks if you can help.

    Format before you print using TO_CHAR

    Here is the link for the Format of Date patterns

    https://docs.Oracle.com/CD/B28359_01/server.111/b28286/sql_elements004.htm#CDEHIFJA

  • SQL and BI

    Hello Experts;

    I used some tools like Microstrategy bi, however it is still not comparable to a coding in SQL, PL/SQL, which gives a lot of flexibility, transparency, etc. So, how is it I always get customers pushing to have all of the BI process done on BI tools. Why SQL and PL/SQL, not at the forefront instead. I know that the graphical side of things put it at a disadvantage, but beside that I'm still why a little distraught.

    SQL and PLSQL can scare companies, many see a black magic (which, in some respects, can be), and it is not something that many customers feel able to learn or even tend to. On the face of things, this may seem complicated and used wrongly, can cause MAJOR problems with buinesses (poor performance, use excessive resources that affect other sessions).  Many have invested time in getting to know point and click graphical tools that can get results without feeling lost and confused by SQL, they prefer.

    However, as you rightly remember, nothing can replace SQL or PL/SQL.

    I suppose that the element of fear is a bit like why a lot of people using MS Paint to edit an image, many feel uncomfortable with it, he can do the basics, but not much, and they'll settle for that, but you could do much more with Photoshop - it's simply too scary to learn properly for most of the people so that they avoid it - they stick to what is simple and familiar.

Maybe you are looking for

  • photos iOS app whet?

    I recently invested in an iPad pro and bewildered that the photos app does not seem to be different from that on my iPhone. Am I right in thinking there is no function sharpness or levels? Or are the more advanced functions hidden somewhere?

  • Sony camcorder not detected

    My notebook Acer Aspire will not recognize my Sony video camera, when I connect it via USB. I loaded the software provided with the camera, but it still does not detect it. He tells me that the USB device has malfunctioned and Windows does not recogn

  • New HP laptop

    I have a new HP laptop and when I play that is POGO, it only goes to the implementation of the game and then click on. I've just updated Java, but it did not always help.It is a Windows Vista.

  • Windows vista 32-bit error code 0 x 80070424 - the Security Center service cannot start

    Hello. I have Vista Home premium SP2, 32-bit operating system. A week ago, I received a .rar file, Avira has said has been infected. I did not open the file, I deleted, ran a complete analysis of the system and assured there was no residue. However,

  • The response from the query web service

    HelloI would like to apply for assistance in creating an appropriate query to process the response from the web service.This is the outdated response from the web service and my unsuccessful attempt to treat.PROCEDURE PRIMER_4B ASXML_WS XMLTYPE.CLOB