Oracle SQLcl Introduction and Getting Started

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

ความคิดเห็น • 50

  • @pranavanath
    @pranavanath 7 ปีที่แล้ว +3

    Finally they added history.Thanks Jeff for your video

  • @ezazakhtar6339
    @ezazakhtar6339 2 ปีที่แล้ว +1

    Jeff, you absolutely rock! Thank you so much for this!

  • @robbergvanden1450
    @robbergvanden1450 8 ปีที่แล้ว +4

    Very much appreciated! Thx Jeff, well done.

    • @JeffSmiththat
      @JeffSmiththat  8 ปีที่แล้ว +1

      thanks!! stay tuned for more news too 😎

  • @ifteebuet
    @ifteebuet 6 ปีที่แล้ว +1

    Nice tool. Is it possible to set e global fetch size and access the data in a page by page style like the "more" command in Linux.

  • @kevinjoie
    @kevinjoie 7 ปีที่แล้ว +1

    Hi, just installed sqlcl and notice that it errors when I paste query with line-breaks whereas sqlplus handles the paste with line-breaks just fine. What am I doing wrong?

  • @hiphopheaven
    @hiphopheaven 6 ปีที่แล้ว

    The output format is messed up just like sql plus when there's too much columns to display.

  • @DazmanL
    @DazmanL 7 ปีที่แล้ว

    you state that all of the SQLPLUS connection options are supported, but when I tried LDAP resolution - it doesn't work at all with sqlcl, yet works fine with sqlplus. logging on with /nolog and running "show tns" shows the correct tns folder is in use that contains ldap.ora etc and it prints out all databases (very slow as we have 1000's of dbs registered and cannot be control-c'd!!). sqlcl generates a url like "jdbc:oracle:thin:@dln12345:1521/dln12345" (where dln12345 is our db name) and claims the host is unknown.

    • @JeffSmiththat
      @JeffSmiththat  7 ปีที่แล้ว +1

      Darren Lindley barrymcgillin.blogspot.com/2015/01/sqlcl-ldap-anyone.html?m=1

    • @DazmanL
      @DazmanL 7 ปีที่แล้ว

      thanks Jeff, good to know

    • @JeffSmiththat
      @JeffSmiththat  7 ปีที่แล้ว

      Darren Lindley when I get back from vacation, I'll make sure the tns dump stops after 50 entries

  • @daxmlai
    @daxmlai 3 ปีที่แล้ว

    how i can connect sqlcl with wallet i mean to say i wish to connect my autonomous database using sqlcl how i do that

    • @JeffSmiththat
      @JeffSmiththat  3 ปีที่แล้ว

      Use set cloudconfig .. example here www.thatjeffsmith.com/archive/2019/12/sqlcl-on-oracle-cloud-infrastructure-oci/

  • @dtfranca
    @dtfranca ปีที่แล้ว

    how I know that my oracle has a SQLcl installed?

    • @JeffSmiththat
      @JeffSmiththat  ปีที่แล้ว

      How do you mean, 'my oracle' ?
      If you mean Oracle Database or Client, then it would have a 'sqldeveloper' folder in the $ORACLE_HOME, and in that directory you would find SQLcl and it's associated sql.exe or sql.sh script.
      If it's not there, it take about 3 minutes to add from our free download, or using yum or brew.

    • @dtfranca
      @dtfranca ปีที่แล้ว +1

      hi @@JeffSmiththat , my ticket here it's to show to our costumer if has installed in oracle database SQLcl or not, just like that.

  • @rakshitmalhotra2339
    @rakshitmalhotra2339 6 ปีที่แล้ว

    Please help. It says
    Error Message = IO Error: The Network Adapter could not establish the connection
    I am new to using databases...so how can i resolve this?

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      Rakshit Malhotra SQLcl is just a tool to connect and work with a database...you need a database first.

    • @rakshitmalhotra2339
      @rakshitmalhotra2339 6 ปีที่แล้ว

      Jeff Smith so I need to buy some subscription of Oracle database right? Because Oracle 12c isn't available for Mac

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      Rakshit Malhotra most Mac users run Oracle on Docker or a VirtualBox VM

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      Rakshit Malhotra I talk about VirtualBox solution here, pretty easy, just two downloads www.thatjeffsmith.com/archive/2012/12/i-have-oracle-sql-developer-installed-now-what/

  • @manojsoni6675
    @manojsoni6675 7 ปีที่แล้ว

    @Jeff Smith : how did you change this [hr@orcl[smiley]> ] it`s really cool.

    • @JeffSmiththat
      @JeffSmiththat  7 ปีที่แล้ว +2

      Do you mean the emoji? OS X has no problems showing unicode characters, including emojis in their terminals. Windows on the other hand...not so much.

    • @manojsoni6675
      @manojsoni6675 7 ปีที่แล้ว

      yeah that`s what.... but anyways thanks for reply..really appreciate.!!

    • @JeffSmiththat
      @JeffSmiththat  7 ปีที่แล้ว

      there may be a *nix terminal emulator you could use in Windows, like Cygwin, but I've tried them (all on WIN7) with no luck.

    • @manojsoni6675
      @manojsoni6675 7 ปีที่แล้ว

      :( it`s also not working on win10..hard luck..

  • @shubhigangele741
    @shubhigangele741 6 ปีที่แล้ว

    unable to connect on windows. is the command same for windows cmd prompt?

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      shubhi gangele yes. What are you trying and what's your error message?

    • @shubhigangele741
      @shubhigangele741 6 ปีที่แล้ว

      Jeff Smith command not recognised

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      shubhi gangele which command?

    • @shubhigangele741
      @shubhigangele741 6 ปีที่แล้ว

      from where can i download the database required for sql plus?

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      you have a few options, i talk about them each here medium.com/oracledevs/i-installed-oracle-sql-developer-now-what-71230b9c9303

  • @yoshq7
    @yoshq7 3 ปีที่แล้ว

    What do I give for the username?

    • @JeffSmiththat
      @JeffSmiththat  3 ปีที่แล้ว

      Either a DBA has given you an account, use those credentials, or YOU have created the system yourself, in which case your default admin account is SYS or SYSTEM - SYSTEM is safer.

  • @ricardoa.almodovar8194
    @ricardoa.almodovar8194 6 ปีที่แล้ว

    cannot connect I get errors when entering my credentials

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      Hey Ricardo, what errors do you get? And how are you connecting? And where are you connecting to? As you can imagine, there are MANY variables involved here.

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      show me the literal errors, and then answer my other questions :)

    • @JeffSmiththat
      @JeffSmiththat  6 ปีที่แล้ว

      Ricardo Almodovar what error? Copy and paste it here

    • @dcity-b4u
      @dcity-b4u 6 ปีที่แล้ว +1

      Try this "sys@//192.168.47.161:1521/orcl as sysdba" assuming you are trying to login as sys user, next is the ipaddress or hostname and the port number of the database and the service name. It will prompt you for a password. Enjoy

    • @itechpk
      @itechpk 2 ปีที่แล้ว

      @@dcity-b4u if orcl is a sid then sytax would be : username@ip:port:sid
      if orcl is a pdb then syntax would be : username@ip:port/pdb

  • @brijesh6323
    @brijesh6323 2 ปีที่แล้ว

    copy pest not working

    • @JeffSmiththat
      @JeffSmiththat  ปีที่แล้ว

      What are you trying, on what OS, with what version of SQLcl and Java?

  • @alvarnommik4565
    @alvarnommik4565 7 ปีที่แล้ว +2

    Too bad that this tool has so poor memory management.
    Try to insert huge files using @ command and it chugs memory until it ends with OutOfMemoryError
    Like always with oracle -> one step forward and two steps back. :D

    • @oracledatabasedevelopmentt597
      @oracledatabasedevelopmentt597 7 ปีที่แล้ว

      can you give an example Alvar? How do you mean 'insert huge files' using @ - do you mean just running a large script? and how large is your file?

    • @alvarnommik4565
      @alvarnommik4565 7 ปีที่แล้ว

      Yes, I was running "large" script that contained 100k rows (50000) inserts. File itsef was was ~500M and contained KEYBLOB -s.
      sqlplus did not work at all because of command-line length (2500)

    • @oracledatabasedevelopmentt597
      @oracledatabasedevelopmentt597 7 ปีที่แล้ว

      Will check to see if we're streaming the file in and processing, closing as we go. BUT. If you want to insert that much data, don't do INSERTs. Gen a CSV file and load via External Table or SQL*Loader.