Use VSCode with Oracle Database

  Рет қаралды 42,412

Database Star

Database Star

Күн бұрын

📝 Get my free SQL Cheat Sheets: www.databasestar.com/get-sql-...
🎓 Learn and become confident in SQL: databasestar.mykajabi.com/sql...
VSCode is a popular editor for software development. If you work with an Oracle database, you’ll likely be using another IDE as well, such as Oracle SQL Developer.
However, if you use VSCode, you can access the Oracle database directly from within VSCode. You can do this by using an extension.
This means you can run queries and see your data all within the same application, saving time from using different applications. You may also find it easier to use one application instead of two.
It’s not as powerful as a full SQL IDE, but for simple stuff, it’s quite useful.
In this video, you’ll learn how to install the extension in VSCode, how to create a connection to the Oracle database, how to run some SQL queries, and some features of the extension.
Timestamps:
00:00 What we’re doing
01:03 Install the extension
02:19 Create a connection
04:46 Create a table
06:44 Insert some data and view it
07:58 Extension features
08:48 Bookmarks

Пікірлер: 76
@VijayalakshmiAlwar
@VijayalakshmiAlwar Жыл бұрын
I have honestly been strugging with setting up oracle db for days ow. This video saved me honestly!!! Tahnk you sooooo much!!!!
@DatabaseStar
@DatabaseStar Жыл бұрын
Awesome, glad it helped!
@sreevyshnavi1927
@sreevyshnavi1927 Жыл бұрын
This made my day! Very clearly explained!
@DatabaseStar
@DatabaseStar Жыл бұрын
Glad it helped!
@severtone263
@severtone263 Жыл бұрын
Great video buddy! You earned my sub! Thank you
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks!
@yorg33kyorgeek57
@yorg33kyorgeek57 Жыл бұрын
Hi, Do you have experience setting up the ODPNET assemblies as references in VS Code? I would like to be able to reference the ODPNET libraries in a VS Code C# console app/project and interact with oracle tables by SELECTing, INSERTing, and UPDATEing tables/views. Any hints or links to share for setting up ODPNET references in VS Code?
@DatabaseStar
@DatabaseStar Жыл бұрын
Hi, unfortunately I don't have any experience with this...
@ydoomenaud
@ydoomenaud Жыл бұрын
This video and the documentation do not mention that this isn't compatible with SSH Remote and that it won't be fixed until 21.6
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks for pointing this out! I wasn't aware of it.
@CaribouDataScience
@CaribouDataScience 2 жыл бұрын
How can I set VS CODE so that the output from a query will always appear on the right of the screen?
@DatabaseStar
@DatabaseStar 2 жыл бұрын
I'm not sure. I think there's a way to snap the panel to the side, but I don't know if that will be the default behaviour.
@ooogg2610
@ooogg2610 Жыл бұрын
Very good video. My only suggestion is that it's very bad practice to connect as SYS and start creating user objects for your App in the SYS schema since that's where Oracle also places its internal tables. The SYS user is basically equivalent to connecting as Root in Linux or SA in SQL Server.. so it also could become a security problem.
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks! Yes I agree, using the SYS schema is bad for the reasons you mentioned. I only used it because creating a user on Oracle can be hard to do.
@hadilsherlnans5404
@hadilsherlnans5404 Жыл бұрын
amazing vedio thanks a lot u helped me a lot
@DatabaseStar
@DatabaseStar Жыл бұрын
Glad it helped!
@CaribouDataScience
@CaribouDataScience 2 жыл бұрын
Thanks that was helpful.
@DatabaseStar
@DatabaseStar 2 жыл бұрын
Glad it helped!
@yuliyacher67
@yuliyacher67 Жыл бұрын
Thank you!
@DatabaseStar
@DatabaseStar Жыл бұрын
You're welcome!
@hasanmougharbel8030
@hasanmougharbel8030 2 жыл бұрын
Hey there, god bless your efforts in this channel. As a newbie sql learner i have general enquiry. What is the major difference between Oracle database and mysql database. Is there any advantages i need to consider before choosing to work on one of them. Thanks for taking care of this.
@DatabaseStar
@DatabaseStar 2 жыл бұрын
Thanks! Good question. Oracle is focused on larger organisations and systems, and MySQL is popular with smaller projects and websites. MySQL is free and open-source, and Oracle is not. Most of the SQL syntax is the same, but there are some differences.
@mathennoel
@mathennoel Жыл бұрын
Hi. It is showing an error when I click create connection part. What should I do
@DatabaseStar
@DatabaseStar Жыл бұрын
Oh what error are you seeing?
@lasyamalladi95
@lasyamalladi95 Жыл бұрын
I am getting this error while setting up the connection- Error opening connection 'SYSTEM.XEPDB1'.Details: ORA-12541: TNS: No listener ..Can someone please help me out?
@DatabaseStar
@DatabaseStar Жыл бұрын
Is the database running on the computer/hostname you've specified?
@kevinelezi7089
@kevinelezi7089 Жыл бұрын
how can I import a cdv database ???? I cannot find the command :(
@DatabaseStar
@DatabaseStar Жыл бұрын
I'm not sure but there may be a way to right click on the database or the table and select Import, then select your file.
@marouaneouladali2395
@marouaneouladali2395 Жыл бұрын
Thank you for this tutorial, i'm just facing an error message that says: ORA-12541: TNS: No listener I hope you can help me with it, thank you again
@DatabaseStar
@DatabaseStar Жыл бұрын
Glad it was helpful! I think that error means the database isn't running. You can run the database using the command line, and I think there's an option in the start menu if you're on Windows. Either that, or the connection details you have entered are not correct.
@pepealexandre
@pepealexandre Жыл бұрын
Thank you, sir!
@DatabaseStar
@DatabaseStar Жыл бұрын
You’re welcome!
@dev28014
@dev28014 Жыл бұрын
Thanks for the video.. can we push oracle database objects to Azure repos using VScode
@DatabaseStar
@DatabaseStar Жыл бұрын
I think you can, you would have the SQL code to create the object in an sql file, and commit that to a repository.
@dev28014
@dev28014 Жыл бұрын
@@DatabaseStar thanks for the reply.. will try that
@teha1306
@teha1306 Жыл бұрын
thank you!
@DatabaseStar
@DatabaseStar Жыл бұрын
You’re welcome
@techno-track318
@techno-track318 2 жыл бұрын
Why we use blob datatype & how it differ from varbinary datatype plz help....
@techno-track318
@techno-track318 2 жыл бұрын
I need detail explain how reference is going to be stored
@DatabaseStar
@DatabaseStar 2 жыл бұрын
Good question. BLOB can be used to store large sets of data that aren't always readable as text, such as large files, or even a large amount of text. I'm not sure what the use of VARBINARY would be however.
@logansimmons3199
@logansimmons3199 Жыл бұрын
How do I connect to a database on a virtual machine running on my host computer?
@DatabaseStar
@DatabaseStar Жыл бұрын
Which Virtual Machine software are you using? When I've done this in the past, using either Parallels or VirtualBox, I had to look up what the connection details were, and sometimes had to allow the ports to be used between the virtual machine and the host.
@logansimmons3199
@logansimmons3199 Жыл бұрын
@@DatabaseStar I'm using VMware player. I've got a Fedora image running on it
@prajwalkawle1337
@prajwalkawle1337 10 ай бұрын
This is all fine but can we do the same with oracle sql developer?
@DatabaseStar
@DatabaseStar 10 ай бұрын
Yes you can do this and much more with SQL Developer.
@jrlopez9612
@jrlopez9612 9 ай бұрын
What if I'm using a wallet from oracle, how can I connect?
@DatabaseStar
@DatabaseStar 9 ай бұрын
Ah I'm not sure, I know there's an option in SQL Developer to do that, but not sure about this VSCode extension.
@SC-hp5dn
@SC-hp5dn Жыл бұрын
While trying to create connection I keep getting connection request time out. What could be the reason for this?
@DatabaseStar
@DatabaseStar Жыл бұрын
That’s strange. Does it work if you connect with another editor?
@SC-hp5dn
@SC-hp5dn Жыл бұрын
@@DatabaseStar my bad I was making a silly mistake like not connecting to vpn☺️ it’s working now. Thanks for replying
@abhi1302
@abhi1302 Ай бұрын
Can we checkin in azure using vs
@DatabaseStar
@DatabaseStar Ай бұрын
What do you mean by checkin? You can use VS Code with SQL Server using a different extension.
@neilhutchinson8005
@neilhutchinson8005 Жыл бұрын
Probably worth mentioning that Auto Commit is enabled by default in this extension - not everyone will want this. Press F1 > Open Settings > Oracle Developer Tools (under Extensions) > Un-check "Query: Auto Commit" to disable.
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks for the tip!
@harshitasharma4034
@harshitasharma4034 6 күн бұрын
any app to download prior?
@DatabaseStar
@DatabaseStar 5 күн бұрын
Yes, you'll need Visual Studio Code, but that's all.
@rommelmitchellvasconezmio8275
@rommelmitchellvasconezmio8275 Жыл бұрын
Thanks!!!!!!!!!!!!!!
@DatabaseStar
@DatabaseStar Жыл бұрын
You're welcome!
@peri0496
@peri0496 Жыл бұрын
i tried the option describe but dont show nothing
@DatabaseStar
@DatabaseStar Жыл бұрын
Which option describe?
@Bokie-ow1nc
@Bokie-ow1nc 2 ай бұрын
how can i get oracle databse on mac ?
@DatabaseStar
@DatabaseStar 2 ай бұрын
I've got a video coming out this week that shows you exactly how to do this :)
@Bokie-ow1nc
@Bokie-ow1nc 2 ай бұрын
@@DatabaseStar great! Looking forward to it
@andynelson2340
@andynelson2340 Жыл бұрын
2:30 "Cylinder Icon with multiple rings". It's 'disk pack' or DB icon my man 🙂
@DatabaseStar
@DatabaseStar Жыл бұрын
Ah thanks - I wasn't sure what to call it and how to make it sound different from the other one that was there!
@ahuachapan2
@ahuachapan2 2 жыл бұрын
You have a cool voice.
@DatabaseStar
@DatabaseStar 2 жыл бұрын
Thanks!
@nelsonrios627
@nelsonrios627 Ай бұрын
i love you
@DatabaseStar
@DatabaseStar Ай бұрын
Haha thanks!
@adepusairahul7375
@adepusairahul7375 11 ай бұрын
I am getting white creating connection, ORA-12541: TNS: No listener
@DatabaseStar
@DatabaseStar 11 ай бұрын
Is the server running? Are you able to connect with another IDE such as SQL Developer?
@marcello4258
@marcello4258 Жыл бұрын
Kinda amazing.. yet, this is at least officially - in your other video you showed us a third party tool. As extensions are just plain JS without auditing I don’t feel comfortable placing my credentials in it. Why do you?
@DatabaseStar
@DatabaseStar Жыл бұрын
That's a good point. You could opt not to save your password and enter it every time. Or you could stick with an IDE such as SQL Developer if you're not comfortable with the security of the extension.
@marcello4258
@marcello4258 11 ай бұрын
@@DatabaseStar I go another route but I am using primarily using vim/tmux so I am fine. Once set up there is not really a reason to go for other products
How to Use VS Code to Run SQL on a Database
15:06
Database Star
Рет қаралды 267 М.
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 47 М.
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 17 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 59 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 29 МЛН
How to Correctly Define Many-To-Many Relationships in Database Design
7:07
Installing MySQL and Creating Databases | MySQL for Beginners
12:04
Alex The Analyst
Рет қаралды 320 М.
What is Database Sharding?
9:05
Anton Putra
Рет қаралды 44 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,5 МЛН
We Learn SQL #10 | Subqueries with the IN operator in SQL
4:55
We Learn SQL
Рет қаралды 15 М.
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 603 М.
eCommerce Database Design: Diagram & Explanation
16:06
Database Star
Рет қаралды 131 М.
Oracle CDBs and PDBs Explained (With Connections)
9:14
Database Star
Рет қаралды 12 М.
Clustered vs. Nonclustered Index Structures in SQL Server
8:04
Voluntary DBA
Рет қаралды 647 М.
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 720 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,8 МЛН
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 940 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 57 МЛН