How can I find what is the data type of a column of a Table in oracle or SQL?
(a) what happens if I want to know the type of data in a specific column in the Table.
(b) how to find the column data types?
Can someone help me please. I am new to oracle and try to learn a few tricks
Hello
How to do
SQL > desc
SQL> desc emp
Name Null? Type
----------------------------------------- -------- ----------------------------
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
Tags: Database
Similar Questions
-
How to recover the data type of a column in a table?
Hello
I want to retrieve the data type of a column in a table. At the moment I'm querying attribute 'OCI_ATTR_DATA_TYPE', but it is SQLT_CHR varchar2 and nvarchar2 data type columns. I need to make a distinction between these columns of two separate data types. Y at - it all API through which I could get the exact data type of a column, i.e. "nvarchar2?
Thanks in advance.
HashimHello
It is not a very direct way to do it. What you can do is to call OCIDescribeAny on the table that you want to get information. You can then get the OCI_ATTR_CHARSET_FORM attribute for the column. If the value of the attribute that you get is SQLCS_IMPLICIT, that would mean its a varchar/char/varchar2 column regular. If you get SQLCS_NCHAR, this means that the column is NCHAR. You can get the example of it here:
http://download.Oracle.com/docs/CD/B14117_01/AppDev.101/b10779/oci06des.htm#446491
Just look for the section "Recovering for a Table column Datatypes".
Thank you
Sumit -
I'm unable to empty a jpg of the Trash because the element is used. How can I find what is using the element?
option of command, escape on the keyboard and then on the force quit button for all applications listed
then empty the trash
-
How can I find what my ' is the speed of internet access?
How can I find what my ' is the speed of internet access?
Hello
Here is a link to a test site.
Speedtest.NET - the Global speed Test:
http://Speedtest.NET/Concerning
-
How can I find what firewall is running on my computer?
Original title: find firewallsHow can I find what firewall is running on my computer? I have used norton, mcafree, avg in the past. All have been removed through programs removal program. I turned off my windows firewall and Security Center says I still have firewalls. I can't access itunes store or download programs (such as the overdrive media). I don't have a router, but have tried that disconnect and connect the computer directly to the modem. Still have the problem.
Security applications - especially those of McAfee and Norton - cannot be completely removed using the control panel > Add / Remove programs.
For McAfee, see http://service.mcafee.com/FAQDocument.aspx?lc=1033&id=TS100507 which explains how to use the McAfee Consumer Products Removal (that you can get the link in this article).
For AVG, see http://www.avg.com/us-en/utilities
If for some reason you want to reinstall everything before (that I do not recommend), don't forget to make a record of your license key before uninstalling. The links above should explain how to do this.
Some motherboards with nVidia chipsets include a hardware firewall (nVidia ActiveArmor). I'm not positive on how to determine if you have this or not, but I suggest starting with a glance at the "network adapter" section of the Device Manager (start > run > devmgmt.msc > OK).
PS: even if you're experienced, do not use your router. It provides a layer of protection between you and the Internet, if you connect with all firewalls disabled.
-
where can I find what is the latest update package?
Where can I find what is the latest update package? I use a blowtorch to debug problems with OS 6, but I don't know if it is up-to-date. The OTA update claims it is, but which is related to the carrier, right? I use a T-mobile SIM card.
The options said ' bundle 6.0 335 (v6.0.0.161 platform 6.4.0.75) ' is the most recent?
Thank you!
Package Version: 6.0.0.1907
Composed of:- Applications: 6.0.0.448
- Software platform: 6.4.0.210
^^, This is the latest operating system for the Torch 9800.
Operating system device provided are "released" by specific carriers once that they are certified and trained to their support technicians, but still, you are able to load any carrier the same model by following the instructions below.
See the link below for download and simple installation instructions.
https://www.BlackBerry.com/downloads/entry.do?code=494C08F7A144D3CC4CFA661ED1244039
Make a backup of your device first, using Desktop Manager > backup. Close the office at the end Manager.
1. download the OS files to the PC then install on the PC by running (double click) the downloaded file.
2. go in c:\program files Research in motion\apploader and delete the file named "vendor.xml."
3. plug in the BB and double-click on "Loader.exe." It is located in the same place as the above vendor.xml file. -
How can I find what account is linked to a book?
Hello, I try to read a book with ADE but the account connected to the Ebook is not correct and I can't remember which Adobe ID I am connected to this book. How can I find what account is logged?
You have not found alone. Connect the reseller of the eBook. Only this person has access to the eBook itself.
-
How can I find what programs are running on my laptop
How can I find what programs are running on my lap top
Hello
- Right-click on an empty space on the taskbar
- Click Start Task Manager
- Processes tab will show you the programs that are running
Kind regards.
-
How can I find movies in the original language? Ex Prince of Persia? I found it only in Italian. I already change my area in settings. TKS.
The audio tracks or subtitles having a particular movie in the Bank of a country is defined by the holder of the rights to the film for this country - the audio options and subtitle must be listed on the page of description of the film in the store.
If a movie is not available in your country in the language you want, then you can try to contact the rights holder and request that they give to Apple a license corresponding to your country (and perhaps also the request via Apple: http://www.apple.com/feedback/itunes.html)
-
How can I find (and remove) the source of this irritation
With irritating regularity, a dialog box appears on my screen that says "sh: / usr/bin/lockfile: no such file or directory (127) '." How can I find and eliminate the source of this thing?
Please update "SuperDuper" to the current version, or delete it if you don't need.
-
I have a dell latitude d830 intel core 2 windows xp... How can I find what I thank you video card
[Moved from comments]
Download and run GPU-Z.
-
Hello, how can I choose what image the film will show before you press play and the movie starts?
You can not. At least not with Adobe tools.
-
How to declare the data type of a column in a select query?
How can we give the data type of each column on the fly during the selection of rows in a query?the cast function converts one data type to another.
The syntax of the cast function is:
Cast ({expr |}) (subquery) | (MULTISET (subquery)} AS type_name)
Select cast (22 August 2003 ' AS varchar2 (30))
Double;Published by: b_ * August 12, 2011 10:08
-
How to write a query for the data exchange between two columns?
How to write a query for the data exchange between two columns?
I tried a request, does NOT work.
Thank you.update tmp t1 set t1.m1=t1.m2 and t1.m2=(select t2.m1 from tmp t2 where t2.student_id = t1.student_id)
Published by: user533361 on October 23, 2009 14:04Just plain and simple:
update tmp t1 set t1.m1=t1.m2, t1.m2=t1.m1 /
SY.
-
How can I find what works under XP
I have something running in the background that interferes with the operation. How can I find it?
Chicken and eggs come to mind! If you don't know how to determine what processes are running, how you know something "in the background" is disruptive?
Option 1: The Task Manager
Or ctrl-alt-del or
- Click Start
- Click on run
- Type taskmgr and press enter
Option 2: Process Explorer
Download on http://technet.microsoft.com/en-gb/sysinternals/bb896653.aspx
Tricky
Maybe you are looking for
-
Extraction failed - cannot find the file to archive
-
ThinPro with VMware View USB Redirection
Hi all: I'm trying to configure my workstation (t620 ThinPro 5.1 running) to start required services necessary for USB with VMware View forwarding at startup. I tried to add the command to /etc/rc.local and created my own init.d script, but none of
-
Image of the hand in the thumbnail view
One of our files is displayed with an image of the hand in the thumbnail view, and in the details, view has a dark area at the bottom of the image in folder of files. What does that mean?
-
How can I reinstall windows 8 from scratch
I have a hp model10-e010nr I would like to do a reinstall customized windows 8 to get rid of all the junk that slowdown this machine
-
Error defragmenting - Task Scheduler is not running
Original title: help I want to defragment my desktop manually, but every time that I support on defragment, I get a message saying that I can't because my task scheduler is not running. Where is Task Scheduler, please?