Need help with search 1 d table
Hello
Why I always get-1 for the 1-d array of search here? Join my vi
The goal is to get rid of digital repetition & store if not repetitive.
Thank you and best regards,
Simon
LV8.2
I'm not sure what you want to achieve, but your search table returns the index of the search for the number. However, you're looking for once for every time in the table and the last time, you will start the search for the last item, so always-1.
Is the idea to add digital to the table if it is not already present? Then, it is too complex (and does not).
These changes would solve it?
/Y
Tags: NI Software
Similar Questions
-
Need help with search for mdb using DW in ASP.
Hello
I'm trying to put in place a db on a Web site search tool using mdb and dw in ASP. have THEY put in place. Tested OK. Have used ms help pages (printed some) and the DW 8 missing manual to:
Configure and test a connection string to a database and it is fine.
Set up to search with a single parameter and it tests OK.
Configure the results page and it tests OK too.
I can display the search page and the results page by using the toolbar search engine address and local host by IIS installation and this is very good.
Unfortunately, when I test the search page and use a proper search for the db password, the results page displays very well with the titles of the table, but no data. I am highly dependent on the ease of DW and I'm not much on the code.
I tried a lot of different things, but there are so many possibilities! I tried GET and POST. I think that the problem is either in the original report send the form data to the server, the mdb data collection or data display in the final table, although it's conjecture. It covers almost all areas. Also I don't know if "repeat" in the table may have something to do with it.
If anyone can help me with some general ideas on how I can be able to go forward. I was at this point for about a week.
Thank you very much in anticipation
OK, you're text field is named "textfield", but the query string you are testing for is called "search". They must be named the same.
" size="30">
rsSearch__MMColParam = Request.QueryString ("search")
I don't know why you are populating the form field with a value of query string. The value does not exist because there is no field named "search". And the sending of the form (EEG) is what creates the query string that uses the results page.
Rename the textfield object in your 'Search' form and it should work.
-
Need help with a global temporary table
Can someone please help, the following line of code:
CREATE TEMPORARY TABLE global tbl_bulknodes_temp (obt_uuid VARCHAR2) ON COMMIT DELETE ROWS
Yeilds the following error running in SQL and PL/SQL
Error from the 1 in the command line:
CREATE TEMPORARY TABLE global tbl_bulknodes_temp (obt_uuid VARCHAR2) ON COMMIT DELETE ROWS
Error report:
SQL error: ORA-00906: lack of left parenthesisHello
You need the length of varchar2 column...
SQL> CREATE GLOBAL TEMPORARY TABLE tbl_bulknodes_temp ( obt_uuid VARCHAR2(30) ) ON COMMIT DELETE ROWS; Table created SQL> CREATE GLOBAL TEMPORARY TABLE tbl_bulknodes_temp2 ( obt_uuid VARCHAR2 ) ON COMMIT DELETE ROWS; CREATE GLOBAL TEMPORARY TABLE tbl_bulknodes_temp2 ( obt_uuid VARCHAR2 ) ON COMMIT DELETE ROWS ORA-00906: missing left parenthesis SQL>
Kind regards
-
Need help with the Oracle error table
Hello
I'm procedures for migration from SQL server to Oracle.
In SQL server there is a reference to the table * master.dbo.sysmessages * is there any table in oracle, which equals master.dbo.sysmessages table of SQL server.
Thanks in advance.Hello
In sql server, the view is not containing error details.., I think that there is no such a table in oracle... To do this use the SQLERRM function in oracle...
-
HP laptop: need help with internet and search for things
whenever I'm on chrome internet explore google ect and go to tab it is says unknown error or no internet connection or anything and just takes me chrome ect. I need help with this im involved in a byod class and my computer won't let me on what whatever usually it just starts out black and white and the seeds I my search request
Yes it's a Windows 10 and it arrived already installed I'll take the other info now
-
* Need help with importing partial data of RDBMS table NHI repository *.
Hello
I need help to import the partial table RDBMS data, I tried the content in the logical source but still show me all the data available in the database.
The table contains the partitioned data for which I want to only import single partion according to the partion of function value.
IE contry = 'Fr '.
Thanks in advance.
See you soon,.
RajeevOne possibility is to do the filtering on the physical level itself. You could use a physical table of type 'Select' and filter the data.
Thank you!
-
Need help with the data storage store, local array and network connections
Need help with my ESXi 4.1 installation
My hardware:
I built a server with an Asus P6T whitebox, i7 920, 12 Gig RAM, NIC, Intel Pro1000 PT Quad, 3ware 9650SE-12ML with 8 1.5 TB SATA green in a raid 6 array gives me about 8 + TB with a spare drive all housed within a NORCO RPC-4220 4U Rackmount Server chassis. I also have a 500 GB SATA drive which will hold the ESXi and virtual machines.
The network includes a firewall, Netgear Prosafe FVS336G, GS724Tv of Netgear ProSafe 24 port Gigabit Managed Switch on a dhcp cable modem internet service provider.
I also have 2 old NetGear SC101T NAS disks (4to) I want to connect to the system how some - at a later date have... data on them and want to transfer to the new storage array. I always looking into the question of whether they will work with ESXi 4.1, or I might have to only access it through Windows XP.
My Situation:
I have already installed ESXi 4.1 and vsphere client with no problems and it is connected to a dhcp cable internet service. I've set up host via a dynamic DNS service name give me a static hostname on the internet. I installed three machines to virtual OS successfully at the moment and now want to first start by creating a multimedia storage server which will use some of this new 8 TB array, then separate data storage for use with a web server small overhead storage and a backup. It is a domestic installation.
Help with the data store and network:
I was doing some reading, because I'm new to this, and it looks like I'll probably want to set up my table via ESXi as a nfs disk format. Now, the data store is usually in another physical box from what I understand, but I put my readers and ESXi all in the same box. I'm not sure that the best way to put in place with grouped network cards, but I want to make this work.
I understand that in ESXi 4.1 using iSCSi LUN must be less than 2 TB, but nfs - I should be able to add a bigger partition then 2 TB (for my multimedia) in nfs, right? or should I still add it separately as a separate 2 TB drives and then extend them to get the biggest space.
Any suggestions or direct resources showing examples on how to actually add some parts of the table as data warehouses separate nfs. I know that to go to the configuration tab, and then select Add to storage, and then select nfs. I have not my picture, but it's here that I don't know what to do because ESXi 4.1 system already has an address, should I put the same thing to the new data store array also (will it work?), and what should I use for the name of the folder and the store of data... just do something to the top. I thought to later install Openfiler (for a multimedia storage using this table server) as a virtual machine, use the table with esxi so that I can access the same storage space with widows and linux-based systems.
I also know I have to find a way to better use my quad nic card... put in place of virtual switches, grouping, etc HELP?
Any direction, assistance, similar facilities to sample, suggestions or resources that would help would be great. I did a lot of hunting, but still a little confused on how to best to put in place.
You must think of VMDK files of large databases with records of random size guest go read some data (a DLL or an INI file), maybe write some data back, then go read other data. Some files are tiny, but certain DLLs are several megabytes. It's random i/o all and heavy on the search time. IO Opsys is small random operations that are often sequential (go read data, write data, go read other data,...) so that deadlines are critical to the overall performance. That's why people say OPS are / s of reference and forget the MBs flow. The only time where you bulk transfers are when you read media (ISO files).
Well, now forget all this. Actually the disk activity will depend on the specific applications (database? mail server? machines compiler?), but the above is true for boots, and whenever applications are idle. You should see the profile to know.
RAID 10 is faster (and often more reliable) than RAID 5 or RAID-6 except in certain specific cases. In General RAID 10 is ideal for many random writes, since the calculation of parity for RAID-5 and - 6 adds to the overall latency between command and response - latency is cumulative if a little slow here and a little slow it adds up to a lot of overall slow synchronous especially with e/s on a network. OTOH RAID-5 and -6 can produce faster readings due to the number of heads, so you can use it for virtual machines that transfer bulk. Test. You may find that you need several different types subdashboards for best results.
You said 3ware, they have some good grades on their site, but don't believe it. With my 9650 that I found myself with only a couple of their recommendations-, I put the (simple) table for allocation size 256 k, nr_requests at 2 x the queue_depth and use the planner date limit. I had the habit for the Ext4 file system formatted with stride and stripe-width synced to the table and used the options large_files with fewer inodes (do not use the huge_files option unless you plan to have single VMDK files in the terabyte range). Use a cache of great reading in advance.
Virtual machines use VMDK files in all cases except raw iSCSI LUN that they treat native disks. VMDK is easier to manage - you can make a backup by copying the file, you can move it to a PC and load it into another flavour of VMware, etc. There could be some features iSCSI to your San as a transparent migration but nothing for me. NFS has less chatter of Protocol if latency lower times to complete an operation. NFS is good to read and write a block of data, that's all it boils down to.
UPS is good, but it won't help if something inside the machine explodes (UPS does nothing if the PC power supply goes down). If the RAID card has an option for a battery backup module, so it can contain some writings in memory and may end up the disk i/o after replacing the power supply. 3ware also limits the types of caching available if help is not installed, and you get just the right numbers with the module.
-
[Error number: 0x8024400A] Need help with this error... I reinstalled XP SP1 and I can't get an automatic update that's simple to install, just get this error at each time HHHHEEEELLLPPPPP! Thank you
I had the same problem. But finally found a solution. If your listing is similar to mine, then keep. XP Media Center Edition 2005 (sp2). AMD Athlon 64 x 2 Dual-Core, HP a1630n desktop computer.
Go to the HP website, search for sp37394-XP sp3 Upgrade utility Microsoft for systems equipped with AMD processors.
I had the same 0 x 80240036, 0x8024400a error, but realize my problem was really get manually downloaded sp3 and installed without continue loop crashing and not error messages.
-
Need help with slui message with the Validation Code: 50
OT: need help with the message 'victim' slui...
Diagnostic report (1.9.0027.0):
-----------------------------------------
Validation of Windows data-->Validation code: 50
Code of Validation caching online: 0xc004c4a2
Windows product key: *-* - YMK9F - 7Q3XK-X7D3P
Windows product key hash: 9WDJkbD1PdUJ + GCdK63bG2yus5g =
Windows product ID: 00371-702-8613485-06367
Windows product ID type: 5
Windows license type: retail
The Windows OS version: 6.1.7601.2.00010100.1.0.048
ID: {60986DD4-5ADA-464C-A590-469385BD5D3A} (1)
Admin: Yes
TestCab: 0x0
LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Product name: Windows 7 Professional
Architecture: 0 x 00000009
Build lab: 7601.win7sp1_gdr.150928 - 1507
TTS error:
Validation of diagnosis:
Resolution state: n/aGiven Vista WgaER-->
ThreatID (s): n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002Windows XP Notifications data-->
Cached result: n/a, hr = 0 x 80070002
File: No.
Version: N/a, hr = 0 x 80070002
WgaTray.exe signed by: n/a, hr = 0 x 80070002
WgaLogon.dll signed by: n/a, hr = 0 x 80070002OGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002
OGAExec.exe signed by: n/a, hr = 0 x 80070002
OGAAddin.dll signed by: n/a, hr = 0 x 80070002OGA data-->
Office status: 109 n/a
OGA Version: N/a, 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3Data browser-->
Proxy settings: N/A
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
Download signed ActiveX controls: fast
Download unsigned ActiveX controls: disabled
Run ActiveX controls and plug-ins: allowed
Initialize and script ActiveX controls not marked as safe: disabled
Allow the Internet Explorer Webbrowser control scripts: disabled
Active scripting: allowed
Recognized ActiveX controls safe for scripting: allowedAnalysis of file data-->
Other data-->
Office details:{60986DD4-5ADA-464C-A590-469385BD5D3A} 1.9.0027.0 6.1.7601.2.00010100.1.0.048 x 64 *-*-*-*-X7D3P 5 S-1-5-21-4040712825-3780279311-4191590923 the system manufacturer ,System Product Name American Megatrends Inc. 00371-702-8613485-06367 0802 20110601000000.000000 + 000F3A53C07018400FE 0409 0409 Central Standard Time(GMT-06:00) 0 3 109 Content Spsys.log: 0 x 80070002
License data-->
The software licensing service version: 6.1.7601.17514Name: Windows 7 Professional edition
Description: operating system Windows - Windows (r) 7, retail channel
Activation ID: c1e88de3-96c4-4563-ad7d-775f65b1e670
ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 00371-00212-702-861348-00-1033-7601.0000-1142014
Installation ID: 022214046070387640229264400212325972472065330163335456
Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
Machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
Partial product key: X7D3P
License status: Notification
Reason for the notification: 0xC004F200 (non-genuine).
Remaining Windows rearm count: 4
Trust time: 12/01/2016 11:28:57Windows Activation Technologies-->
HrOffline: 0x00000000
HrOnline: 0xC004C4A2
Beyond: 0 x 0000000000000000
Event timestamp: 1:11:2016 12:55
ActiveX: Registered, Version: 7.1.7600.16395
The admin service: recorded, Version: 7.1.7600.16395
Output beyond bitmask:--> HWID data
Current HWID of Hash: QAAAAAEAAwABAAEAAQADAAAABwABAAEAln3OI0bUDFRsO24dgCKo58SW2JyUY/1mMckmPrb67HxoDsAKMMl2Vg ==Activation 1.0 data OEM-->
N/AActivation 2.0 data OEM-->
BIOS valid for OA 2.0: Yes, but no SLIC table
Windows marker version: N/A
OEMID and OEMTableID consistent: n/a
BIOS information:
ACPI Table name OEMID value OEMTableID value
APIC1425 APIC 060111
FACP 060111 FACP1425
HPET 060111 OEMHPET
MCFG 060111 OEMMCFG
LASRYVITRAGE OEMB1425 060111
ASPT 060111 PerfTune
OEMOSFR OSFR 060111
SSDT DpgPmm CpuPmHello
Thanks to everyone who responded to my question.
Turns out it would not activate the system properties page.
He did, however, turn on the tool online browser without a
hitch. Yes, problem solved.
Jon
-
Need help with a Hp Papvilion Dv7-1270US, from vista to xp 64
Well, I noticed that a lot of guys are useful here with installing XP on Vista and yes I'm another unhappy Vista user, I am a graphic designer and let me tell you programs and performance is not very good on my laptop HP that I am ready to go back to XP.
I have an extra HD a seagate sata 80 GB of my PS3 that I drag never used, so I'll use it to install XP on my laptop
Its what I need help with drivers, man what a pain. I can install drivers left and right that I know how to do this, but Nlite, manual, unzip its so confusing...
good so I use Nlite to wake my sata drivers and my installation of Windows XP on my HP I would add something in there like {video card driver} {driver Chipset} etc, what should I put in the wake? and once the wake is done and winxp is installed in what order should I start to install stuff, please guys Im confused and need help if someone can point me in the right direction of the dv7-1270 drivers I would appreciate...
If I happen to screw up my 80 GB hard drive, not a big deal, blue screen, can not load, etc etc... can I just put my original 320 GB hard drive and back to Vista the way it was. ??? is it possible, which would ease my mind, thank you for your responses and assistance.
Drivers:
Chipset Intel, (install and reboot before other drivers) here
Intel Matrix Storage Manager here
MS-UAA fo SP2 (required with a reboot before the graphic and Audio driver) here
MS-UAA fo SP3 (required with a reboot before the graphic and Audio driver) here
NVIDIA GeForce 9600GT here
Intel Wireless 5100 here
Bluetooth here
Realtek RTL8168C Family PCI - E Fast Ethernet NIC here
Please check first that link written by Joshua Wood and concentrate on problems that may appear when you install the sound card in it.
IDT High-Definition Audio CODEC Pilot,
1 sp41693, pilot, work reported in XP here view
2 SP39671, driver, jobs reported in XP here or here view
3 sp41698, vista, work reported in here XP driver
High-Definition Audio (HDA) Modem Installer and driver here
.NET framework (required before HP Quick Lunch Buttons) here
HP Quick Launch buttons here
Synaptic Touchpad here S
ENE CIR (infrared receiver) here (your Vista driver)
JMB38X card reader Host Controller Driver here
HP 3D DriveGuard 1.10 has here
If you had for 7 unknown devices (buttons drivers), here
Do a manual installation
Go to Device Manager, right click on the unknown device,
Choose update driver, not to communicate.
Choose the install from a list or a specific location, not search, have-disk,
Navigate to the location of machine.inf.
Do it for the rest of the unknown devices
-
Need help with SQL/PL/SQL for Dates
Hi Experts - need help with a SQL query.
I need to insert some date fields in a table called CALENDAR_PERIOD.
Current data in CALENDAR_PERIOD table with their data types:
STARTPERIOD (DATE) YEAR (NUMBER) PERIOD_LABEL (Varchar2 255)
02/11/2014 2014 2014/02/11 SUN
03/11/2014 2014 14/03/11 MON
04/11/2014 2014 11/04/14 MAR
I have to increment above values up to the year 2025. I don't know how to write SQL and increment of these values.
Ex: My next value should insert: 05/11/2015 2014 11/05/14 WED like that I need to insert data until 12 31, 2025.
Can you please help me with PL/SQL block?
Really appreciate your help!
DB version:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE Production 11.2.0.3.0
AMT for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Thank you
SandyHello Sandy,
Maybe something like
INSERT INTO calendar_period (startperiod, year, period_label)
SELECT DATE '' 2014-11-04 + LEVEL
, TO_NUMBER (TO_CHAR (DATE '' 2014-11-04 + LEVEL, "YYYY"))
, TO_CHAR (DATE '' 2014-11-04 + LEVEL, "MM/DD/YY DY")
OF the double
CONNECT BY LEVEL<= date="" '2025-12-314="" -="" date="">=>
;
((mais je ne comprends pas pourquoi nous créons une telle table "année" et "period_label" peuvent être calculé à partir de startperiod))
Best regards
Bruno Vroman.
-
Oracle Version: 11.2.0.2.0
I need assistance with the output of the query. Here is the table.
With Tbl_Nm as
(
Select 'ABC1' SYSTEM_ID, REGION 'US', 'CHI' SUB_REGION 4000 BALANCE, to_date('1-JUN-2012 10:45:00 am', 'dd-mon-yyyy hh:mi:ss am') LAST_UPD_TIME, 'A' FLAG of union double all the
Select 'PQR2', 'UK', 'LN', 2000, To_Date('1-JUL-2012 10:46:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select 'ABC1', 'IND","MAMA", 3500, To_Date('1-AUG-2012 11:47:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "LMN3", "US", "NJ", 2500, To_Date('1-SEP-2012 09:49:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "PQR2", "UK", "MC", 2600, To_Date('1-OCT-2012 04:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select 'ABC1', 'US', 'NY', 3200, To_Date('1-OCT-2012 06:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select "LMN3", "UK", "BT", 2400, To_Date('1-NOV-2012 07:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' From Dual
)
Select * from tbl_nm
I need the output below.
PQR2 UK MC 2600 1 OCTOBER 2012 04:45
ABC1 US NY 3500 October 1, 2012 06:45
LMN3 UK BT 2500 November 1, 2012 07:45
The need the disc according to this system_id flagged as "A". But if the last disc of 'd' then it must show that the amount, but the file should be displayed in 'A '.
I've tried a few and got stuck. Help, please. Not able to get a balance '.
This question is a bit similar to needing help with a query result
With Tbl_Nm as
(
Select 'ABC1' System_Id, region 'US', 'CHI' Sub_Region, 4000 balance, To_Date('1-JUN-2012 10:45:00 am', 'dd-mon-yyyy hh:mi:ss am') Last_Upd_Time, 'A' flag of double Union All
Select 'PQR2', 'UK', 'LN', 2000, To_Date('1-JUL-2012 10:46:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select 'ABC1', 'IND","MAMA", 3500, To_Date('1-AUG-2012 11:47:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "LMN3", "US", "NJ", 2500, To_Date('1-SEP-2012 09:49:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "PQR2", "UK", "MC", 2600, To_Date('1-OCT-2012 04:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select 'ABC1', 'US', 'NY', 3200, To_Date('1-OCT-2012 06:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select "LMN3", "UK", "BT", 2400, To_Date('1-NOV-2012 07:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' From Dual
)
Select System_Id, region, Sub_Region, Balance, Last_Upd_Time of Tbl_Nm T1
where t1. Last_Upd_Time = (select max (Last_Upd_Time) in the Tbl_Nm T2 where T1.) SYSTEM_ID = T2. SYSTEM_ID)
So maybe you'd then
ORDER BY DECODE(flag,'D',9,1) ASC...
to get the Ds at the end of the list.
or
ORDER BY CASE WHAT flag = has ' (your other filters) AND then 9 or 1 end CSA,...
HTH
-
Hello
I have a data in table (raj_table) with columns (char11) raj_id, raj_number (varchar2 (15)), raj_format (NUMBER), Primary_ID (identity with the values of the primary key column)
Primary_ID raj_id Raj_number Raj_format
1 raj rajvend 1
2 raj rajvend 1
3 raj rajvendor1 2
4 raj rajvendor1 2
5 raj rajvendor1 2
6 raj rajvendor2 3
I used under SQL to get query output as below, but has not achieved the required result:
Select client_id vendor_number, vendor_format, primary_id, row_number() on sl_no (client_id partition, primary_id, vendor_format order of client_id primary_id, vendor_format, vendor_number, vendor_number)
from raj_table by sl_no asc
SL_NO raj_id raj_number raj_format primary_id
1 1 raj rajvendor 1
1 2 raj rajvendor 1
2 3 raj rajvendor1 2
2 4 raj rajvendor1 2
2 5 raj rajvendor1 2
3 6 raj rajvendor2 3
I need help with a SQL query to get the result as above without using the group by clause. I want to bring together the combination of separate line of the three columns (raj_id, raj_number, raj_format) and add a unique serial number for each online game (SL_NO column below). So, above there are 3 unique set of (raj_id, raj_number, raj_format) I can get in a group by clause, but I can not add prmiary_id, SL_NO values if I group by clause. I used the analytical functions like row_number() but no luck. Need solution for this.
with t as)
Select 'raj' raj_id, 'rajvend' raj_number, 1 raj_format, 1 primary_id Union double all the
Select option 2, 'raj', 'rajvend', 1 double Union all
Select 3, 'raj', 'rajvendor1', 2 double Union all
Select 4, 'raj', 'rajvendor1', 2 double Union all
Select 5, 'raj', 'rajvendor1', 2 double Union all
Select 6, 'raj', 'rajvendor2', 3 double
)
Select dense_rank() over (order of raj_id, raj_number, raj_format) sl_no,
t.*
t
order by primary_id
/
PRIMARY_ID RAJ RAJ_NUMBER RAJ_FORMAT SL_NO
---------- ---------- --- ---------- ----------
1 1 raj rajvend 1
1 2 raj rajvend 1
2 3 raj rajvendor1 2
2 4 raj rajvendor1 2
2 5 raj rajvendor1 2
3 6 raj rajvendor2 36 selected lines.
SQL >
SY.
-
Need help with a script (o - o8) *, see the Virgin if there is no
Hi all what I need help with a script I can't find an example.
I'm trying to subtract 2 numbers and then multiply this product. (o o8) * one but I just want to do the calculations if all fields have the numbers IE field o, o8 of field and field one.
Thank you in advance. I was stuck on this days searching the Internet.
Assuming you want to affect the outcome of this calculation in another text field, use this code as a custom field calculation script:
var o = this.getField("o").valueAsString; var o8 = this.getField("o8").valueAsString; var a = this.getField("a").valueAsString; if (o!="" && o8!="" && a!="") event.value = (Number(o)-Number(o8))*Number(a); else event.value = "";
-
Need help with the condition join in SQL
Hi all -
I need to ask for help with this query:
Create table user_tab_col_test (varchar2 (30) from table_name, column_name varchar2 (30), data_type varchar2 (30));
Insert into user_tab_col_test (table_name, column_name, data_type) values ('table1', 'column1', 'varchar2')
Insert into user_tab_col_test (table_name, column_name, data_type) values ('Column2', 'table1', 'varchar2')
Insert into user_tab_col_test (table_name, column_name, data_type) values ("Column3", 'table1', 'varchar2')
Insert into user_tab_col_test (table_name, column_name, data_type) values ('column4', 'table1', 'varchar2')
Insert into user_tab_col_test (table_name, column_name, data_type) values ("column1", "table2", 'varchar2')
Insert into user_tab_col_test (table_name, column_name, data_type) values ('table2', 'column2', 'varchar2')
Insert into user_tab_col_test (table_name, column_name, data_type) values ('table2', "Column3", 'varchar2')
Insert into user_tab_col_test (table_name, column_name, data_type) values ('table2', 'column4', 'varchar2')
Commit;
Create table all_cons_columns_test (varchar2 (30) from table_name, column_name varchar2 (30), constraint_name varchar2 (30))
Insert into all_cons_columns_test (table_name, column_name, constraint_name) values ("table1", "column1", "primary")
Insert into all_cons_columns_test (table_name, column_name, constraint_name) values ("table1", "column1", "secondary")
Commit;
This is my query and the current result:
Select u.table_name, u.column_name, c.constraint_name
Of user_tab_col_test u
Outer join all_cons_columns_test c left
On (u.table_name = c.table_name
AND U.COLUMN_NAME = C.COLUMN_NAME
AND C.CONSTRAINT_NAME IN ('main'))
order of U.table_name, U.COLUMN_NAME;
TABLE_NAME COLUMN_NAME, CONSTRAINT_NAME
------------------ --------------------- ----------------------------
Table1 primary Column1
Table1 Column2
Table 1 Column3
Table2 Column1
Table2 Column2
Three questions:
(1) I don't want to return results where table_name = "table1". I can't get this to work.
(2) is my proper request and this is the best way to return my desired results? For example, I want all of the columns of user_tab_col_test and I want to only display the constraint_name from all_cons_columns_test argument if the argument constraint_name = 'primary '.
(3) will be the synatx be the same if I need to join a third table to all_cons_columns_test?
Any advice/suggestions are appreciated-
John
Published by: user703358 on January 11, 2013 20:57
Published by: user703358 on January 11, 2013 21:48Hi, John,.
user703358 wrote:
Hi all -I need to ask for help with this query:
Create table user_tab_col_test (varchar2 (30) from table_name, column_name varchar2 (30), data_type varchar2 (30));
Insert into user_tab_col_test (table_name, column_name, data_type) values ('table1', 'column1', 'varchar2')
Insert into user_tab_col_test (table_name, column_name, data_type) values ('Column2', 'table1', 'varchar2')...Thanks for posting the CREATE TABLE and INSERT.
It is more useful if you post the code that can be run without modification. You did not semicolons after INSERTION instructions.Three questions:
(1) I don't want to return results where table_name = "table1". I can't get this to work.What have you tried? Post your best attempt.
Here's one way:SELECT u.table_name , u.column_name , c.constraint_name FROM user_tab_col_test u LEFT OUTER JOIN all_cons_columns_test c ON u.table_name = c.table_name AND u.column_name = c.column_name AND c.constraint_name IN ('primary') WHERE u.table_name = 'table1' -- ***** NEW ***** ORDER BY u.table_name , u.column_name ;
You would not put this condition in the clause; who controls what is considered as a match between the tables, and "u LEFT OUTER JOIN c" means show all lines of u, even if they do not have a match in the c.
(2) is my proper request and this is the best way to return my desired results? For example, I want all of the columns of user_tab_col_test and I want to only display the constraint_name from all_cons_columns_test argument if the argument constraint_name = 'primary '.
Basically, this application is very well.
It displays all the columns of user_tab_col_test; missing data_type. Just add u.data_type to the SELECT clause, or change the SELECT clauseSELECT u.* , c.constraint_name
(3) will be the synatx be the same if I need to join a third table to all_cons_columns_test?
Do you mean "" * add * one-third * column * to all_cons_columns_test '? "
It depends on what results you want. Post new CREATE TABLE and INSERT and instructions the results you want new data.
Most likely, the basic structure of what you've written will remain exactly the same.
Maybe you are looking for
-
I use ff4 beta3 on a Win7 PC, this problem appeared in the beta 2 release. Some extensions still work very well: Adblock plus, NoScript,. Others appear in the menu of the hull, but aimless: video download helper, Ubiquity (a small rectangle behind th
-
I think I might need a new battery but not sure.
I have an Acer Aspire AOA 150, ZG5, outside the warranty and the battery continues to fall. It is now at 30%, but the charger does not seem to load. I'm sure that the charger is ok since I measured it and it sees 5V +/- In addition, I tried another c
-
Cannot access internet occasionally during the day. Having to reconnect.
problem 169.254 My PC is running XP and is licensed and up-to-date. I connect to Internet using ISP Orange and a Livebox router. Occasionally, maybe once a day, I can't access the Internet or e-mail. I can't repair the connection, which is to get a n
-
Change Audio routing after sequencing Multicam Multicam
Greetings - enough esoteric in question here, but bear with me.I prefer to implement my sequences blocking with the setting of the order of routing audio all THE CAMERAS. This way, my A1, A2 and A3 audio stays on separate tracks when you drag my mult
-
Helloon my db 11.2 on Linux oracle user has this config group/id:UID = 1001 (Oracle) gid = 1002 (dba) groups = 1002 (dba), 501 (oradb), 1001 (oinstall)I created a/aa/bb of file system in which the Group extuser can read/write/execution.I added 1003 (