Query Builder Error
I am trying to create a new test report in BI Publisher.
When I was testing the connection in Admin/JDBC panel. It says Connection established Successfully. But When I try to open a query Builder , It throws me the following error.
"Could not load schema information. Please make sure that this connection is active."
Any thoughts ?
p.s I am behind proxy. (Changed oc4j.cmd already).
Thanks in Advance.
Dear All:
Well, I hope the solution below could solve your problem.
1. Goto the Admin tab from your Oracle BI Publisher Enterprise.
2. Goto the JDBC Connection, there you'll find some of your JDBC predefined connections.
3. Click on the Data Source where you find these error.
4. Replace the jdbc:oracle:thin:@HOST:PORT:SID with HOST, PORT, and SID (e.g. jdbc:oracle:thin:@localhost:1521:ORCL).
5. Enter username and password from the schema (e.g. u:HR p:HR for HR Schema).
6. Test the connection, make sure that it is successfully connected. Otherwise you should check the connection detail.
7. Done. Back to your query builder.
Regards,
Adrian
Similar Messages
-
Hi,
I'm trying to build a data model based on data on our server. I've created a Data Set in SQL using the Query Builder, but when I go to save, I receive this error message:
[Hyperion][SQLServer JDBC Driver][SQLServer]Invalid object name 'CMPROJ.DBO.ISDT'.
Does this have anything to do with accessing my server? Any suggestions?
Many Thanks.Sorry but this has nothing to do with this thread - aimed for questions around Oracle Communications Data Model, the Enterprise Data Warehouse for Telcos available as DB option.
You might want to ask your question to the BIapps folks/Hyperion Thread. If still interested by "building" a data model for comms, you'd better save time and get something pre-built like OCDM...
Regards
Axel. -
[SOLVED] Package-Query build error
I'm trying to get my new Arch system setup, and I'm having trouble getting Yaourt installed. I can't seem to get package-query to build successfully. I have base-devel installed, and I've followed the instructions in the wiki on installing AUR packages. After running "makepkg -s" from the package-query directory it seems to go fine until the end, where I see this output.
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
And that's it. Not sure what I'm missing here.
Thanks.
Last edited by x371322 (2012-05-31 08:11:21)I take that back, after another look I did notice a couple of errors. They're near the bottom of the output. I'm sure it's something simple, and I'm probably going to end up looking like an idiot , but anyway, here's the entire output.
==> Making package: package-query 1.0.1-1 (Thu May 31 03:21:18 EDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading package-query-1.0.1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 361k 100 361k 0 0 152k 0 0:00:02 0:00:02 --:--:-- 177k
==> Validating source files with md5sums...
package-query-1.0.1.tar.gz ... Passed
==> Extracting Sources...
-> Extracting package-query-1.0.1.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: WARNING: Libtool does not cope well with whitespace in `pwd`
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for yajl_free in -lyajl... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.26.0
checking for libcurl >= version 7.19.4... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for git... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
package-query:
Build information:
source code location : .
prefix : /usr
sysconfdir : /etc
conf file : /etc/pacman.conf
localstatedir : /var
database dir : /var/lib/pacman/
compiler : gcc
compiler flags : -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
package-query version : 1.0.1
using git version : no
git ver :
Variable information:
root working directory : /
aur base url : http://aur.archlinux.org
make all-recursive
make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
Making all in src
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
mv -f .deps/aur.Tpo .deps/aur.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
alpm-query.c: In function 'alpm_pkg_get_realsize':
alpm-query.c:486:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
util.c: In function 'ltostr':
util.c:532:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'itostr':
util.c:525:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'concat_backup_list':
util.c:480:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'string_fcat':
util.c:342:11: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/util.Tpo .deps/util.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
mv -f .deps/package-query.Tpo .deps/package-query.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lcurl -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm
libtool: link: gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
Making all in doc
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
test -z "/usr/bin" || /bin/mkdir -p "/home/x371322/AUR Builds/package-query/pkg/usr/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c package-query '/home/x371322/AUR Builds/package-query/pkg/usr/bin'
libtool: install: /usr/bin/install -c package-query /home/x371322/AUR Builds/package-query/pkg/usr/bin/package-query
/usr/bin/install: target 'Builds/package-query/pkg/usr/bin/package-query' is not a directory
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
Making install in doc
make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/x371322/AUR Builds/package-query/pkg/usr/share/man/man8"
/usr/bin/install -c -m 644 package-query.8 '/home/x371322/AUR Builds/package-query/pkg/usr/share/man/man8'
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
I appreciate the help guys. -
Query Builder error when loading importing certain SQL files
Using an SQL statement which causes Oracle*Reports 6i to issue "Error loading data constraints" messages, the following error is displayed form the Oracle Query Builder:
OBE-15952: User privilege table not loaded
OBE-15950: No Query Builder tables--Database open/save is disabled
ORA-00942: table or view does not exist
These are the same errors issues just by launching the Query Builder.
The database contains multiple virtual databases, called entities, such that we can have multiple, virtual systems sharing some common data between them. Could it be that there are problems with the 'virtual database' entity features?hello,
what database version are you using ? it might be, that query builder does not support the version/features you are using.
thanks,
ph. -
Internal errors during Query Builder
Please help me to correct a problem. Database user has a very simple cube: a measure with two dimensions. User (named "warehouse") owns it, the fact table, the dimension tables etc.; client application connects using warehouse account too.
While QueryBuilder makes a data source, one dimension (providers) fails at the some selections; for example, selections "top 10" and "last 3" works, but selection "measure value > 10000" fails; the other dimension (services) works great with all selections tried.
"Fails" means that selection step can be selected (moved from "available" to "selected" box), but cannot be configured (edited) at any manner, both in the left and right boxes - for example, I cannot edit value "10000". This selection cannot be applied too. Visually query builder does nothing, but prints exception trace (see below).
My configuration:
BI Beans Diagnostics(v1.0.0.0) 04.03.04
===============================================================================
JDEV_ORACLE_HOME ............................. = C:\JDeveloper
JAVA_HOME .................................... = C:\JDeveloper\jdk
JDeveloper version ........................... = 9.0.3.1.1107
BI Beans version ............................. = 9.0.3.6.0
BI Beans internal version .................... = 2.7.0.14
Connect to database .......................... = Successful
JDBC driver version .......................... = 9.2.0.3.0
JDBC JAR file location ....................... = C:\JDeveloper\jdbc\lib
Database version ............................. = 9.2.0.4.0
OLAP Catalog version ......................... = 9.2.0.4.1
OLAP AW Engine version ....................... = 9.2.0.4.1
OLAP API Server version ...................... = 9.2.0.4.1
BI Beans Catalog version ..................... = N/A; not installed in warehouse
OLAP API JAR file version .................... = 9.2
OLAP API JAR file location ................... = C:\JDeveloper\jdev\lib\ext
Load OLAP API metadata ....................... = Successful
Number of metadata folders ................... = 3
Number of metadata measures .................. = 1
Number of metadata dimensions ................ = 2
Metadata output location ..................... = C:\JDeveloper\bibeans\bin\bi_metadata.txt
Exception:
Thu Mar 04 11:08:21 MSK 2004 In oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils::getDimMembers
Sorry, these lines are re-translated from localized version
oracle.express.ExpressServerException Error class: OLAPI
Server errors description:
DPR: Unable to create server cursor, Universal at TxsOqDefinitionManagerSince9202::crtCurMgrWthInputTypes
OES: ORA-01722: invalid number
, Universal at TxsRdbSelectStatement:execute()
oracle.express.idl.ExpressOlapiDataCursorModule.CursorManagerInterface oracle.express.olapi.data.full.DefinitionManagerSince9202.createCursorManagerInterface(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.SourceDefinition, oracle.olapi.data.source.Source[], long)
DefinitionManagerSince9202.java:260
oracle.express.olapi.data.full.ExpressSpecifiedCursorManager oracle.express.olapi.data.full.DefinitionManager.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
DefinitionManager.java:132
oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.createCursorManagerSince9202(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
ExpressDataProvider.java:729
oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.internalCreateCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[], long)
ExpressDataProvider.java:624
oracle.olapi.data.source.SpecifiedCursorManager oracle.express.olapi.data.full.ExpressDataProvider.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification, oracle.olapi.data.source.Source[])
ExpressDataProvider.java:555
oracle.olapi.data.source.SpecifiedCursorManager oracle.olapi.data.source.DataProvider.createCursorManager(oracle.olapi.data.source.CursorManagerSpecification)
DataProvider.java:269
oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryUtilities.setUpCursors(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], oracle.olapi.data.source.Source[], oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[], boolean, boolean, boolean, boolean)
QueryUtilities.java:558
oracle.express.olapi.data.full.ExpressSpecifiedCursorManager[] oracle.dss.dataSource.QueryServer._setUpCursorsForMainQuery(oracle.dss.dataSource.SourceTemplate[], oracle.dss.dataSource.common.CubeCursor[], boolean, boolean, boolean, boolean)
QueryServer.java:7036
void oracle.dss.dataSource.QueryServer._getCursorForCube(oracle.dss.dataSource.common.DimTree, boolean, boolean, boolean, boolean, boolean)
QueryServer.java:4096
void oracle.dss.dataSource.QueryServer._createCubeAndCursor(boolean, boolean, boolean)
QueryServer.java:4251
void oracle.dss.dataSource.QueryServer._createCommonQuery(java.lang.String[][], java.lang.String[], oracle.dss.util.Operation, oracle.dss.dataSource.common.QueryState)
QueryServer.java:3894
void oracle.dss.dataSource.QueryServer._initQuery(java.lang.String[][], java.lang.String[], oracle.dss.util.Operation, oracle.dss.dataSource.common.QueryState)
QueryServer.java:3841
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
native code
java.lang.Object oracle.dss.util.Operation.execute(java.lang.Object)
Operation.java:69
java.lang.Object oracle.dss.dataSource.OperationQueue.update()
OperationQueue.java:68
java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation, int)
BaseOperationQueue.java:176
java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation)
BaseOperationQueue.java:146
java.lang.Object oracle.dss.dataSource.QueryServer.queueOperation(java.lang.String, oracle.dss.util.Parameter[], boolean, oracle.dss.dataSource.common.QueryEvent, java.lang.String, oracle.dss.util.Parameter[], oracle.dss.dataSource.common.QueryState)
QueryServer.java:7073
void oracle.dss.dataSource.QueryServer.initQuery(java.lang.String[][], java.lang.String[])
QueryServer.java:3803
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
native code
java.lang.Object oracle.dss.util.Operation.execute(java.lang.Object)
Operation.java:69
java.lang.Object oracle.dss.dataSource.QueryManagerServer.sendQueue(oracle.dss.dataSource.common.BaseOperationQueue)
QueryManagerServer.java:1548
java.lang.Object oracle.dss.dataSource.common.OperationQueue.update()
OperationQueue.java:198
java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation, int)
BaseOperationQueue.java:176
java.lang.Object oracle.dss.dataSource.common.BaseOperationQueue.addOperation(oracle.dss.util.Operation)
BaseOperationQueue.java:146
void oracle.dss.dataSource.client.QueryClient.initQuery(java.lang.String[][], java.lang.String[])
QueryClient.java:1581
oracle.dss.util.DataAccess oracle.dss.dataSource.common.QueryQueryAccess$SelCursor.getDataAccess(boolean)
QueryQueryAccess.java:1099
oracle.dss.util.DataAccess oracle.dss.dataSource.common.QueryQueryAccess.getDataAccess(java.lang.String)
QueryQueryAccess.java:278
java.util.Vector oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils.getDimMembers(oracle.dss.datautil.QueryAccessUtilities, java.lang.String, java.lang.String, java.util.Vector, java.lang.String)
QueryBuilderQueryAccessUtils.java:220
oracle.dss.datautil.DimensionMember oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils.getDimMember(oracle.dss.datautil.QueryAccessUtilities, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
QueryBuilderQueryAccessUtils.java:156
java.util.Vector oracle.dss.queryBuilder.stepView.ConditionStepView.getQDRMemberNames(java.lang.String, oracle.dss.selection.OlapQDR)
ConditionStepView.java:230
void oracle.dss.queryBuilder.stepView.ConditionStepView.updateQDRControls()
ConditionStepView.java:606
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateQDR()
MeasConditionStepView.java:451
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
MeasConditionStepView.java:208
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorContents()
MeasConditionStepView.java:271
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
MeasConditionStepView.java:161
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateControls()
MeasConditionStepView.java:148
void oracle.dss.queryBuilder.stepView.StepView.updateStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int)
StepView.java:562
javax.swing.JPanel oracle.dss.queryBuilder.stepView.StepView.getStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int, int)
StepView.java:522
void oracle.dss.queryBuilder.StepsPanelEditor.startEdit(java.awt.Component, java.lang.String, int, java.awt.Rectangle)
StepsPanelEditor.java:93
boolean oracle.dss.util.dimensionList.DimensionList.doEdit(int)
DimensionList.java:525
void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.startEditingNewSelection()
StepsPanel.java:404
void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.dimensionSelected(oracle.dss.util.dimensionList.DimensionListEvent)
StepsPanel.java:374
void oracle.dss.util.dimensionList.DimensionList.notifyDimensionListListener(oracle.dss.util.dimensionList.DimensionListEvent)
DimensionList.java:2074
void oracle.dss.util.dimensionList.DimensionList.valueChanged(javax.swing.event.ListSelectionEvent)
DimensionList.java:1772
void javax.swing.JList.fireSelectionValueChanged(int, int, boolean)
JList.java:946
void javax.swing.JList$ListSelectionHandler.valueChanged(javax.swing.event.ListSelectionEvent)
JList.java:960
void javax.swing.DefaultListSelectionModel.fireValueChanged(int, int, boolean)
DefaultListSelectionModel.java:170
void javax.swing.DefaultListSelectionModel.fireValueChanged(boolean)
DefaultListSelectionModel.java:140
void javax.swing.DefaultListSelectionModel.setValueIsAdjusting(boolean)
DefaultListSelectionModel.java:507
void javax.swing.JList.setValueIsAdjusting(boolean)
JList.java:1261
void javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
BasicListUI.java:831
void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
AWTEventMulticaster.java:231
void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
AWTEventMulticaster.java:230
void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
Component.java:3715
void oracle.dss.util.dimensionList.DragList.processMouseEvent(java.awt.event.MouseEvent)
DragList.java:202
void oracle.dss.util.dimensionList.DimensionList.processMouseEvent(java.awt.event.MouseEvent)
DimensionList.java:2167
void java.awt.Component.processEvent(java.awt.AWTEvent)
Component.java:3544
void java.awt.Container.processEvent(java.awt.AWTEvent)
Container.java:1164
void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
Component.java:2593
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1213
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
Container.java:2451
boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
Container.java:2216
boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
Container.java:2125
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1200
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
Window.java:922
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
EventQueue.java:339
boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
EventDispatchThread.java:131
void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
EventDispatchThread.java:98
void java.awt.Dialog.show()
Dialog.java:380
void java.awt.Component.show(boolean)
Component.java:946
void java.awt.Component.setVisible(boolean)
Component.java:903
boolean oracle.bali.ewt.wizard.WizardDialog.runDialog()
boolean oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog()
DefaultBuilderDialog.java:481
boolean oracle.dss.datautil.gui.DefaultBuilderDialog.run()
DefaultBuilderDialog.java:466
boolean oracle.dss.queryBuilder.QueryBuilder.run()
QueryBuilder.java:2401
void borlas.oa.Actions.actionEditQuery.doAction()
actionEditQuery.java:44
boolean borlas.oa.Actions.Action.fire()
Action.java:88
void borlas.oa.Forms.FormModule.editQuery()
FormModule.java:132
void borlas.oa.Forms.FormModule.access$6000071(borlas.oa.Forms.FormModule)
FormModule.java:42
void borlas.oa.Forms.FormModule$1.actionPerformed(java.awt.event.ActionEvent)
FormModule.java:113
void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
AbstractButton.java:1450
void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
AbstractButton.java:1504
void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
DefaultButtonModel.java:378
void javax.swing.DefaultButtonModel.setPressed(boolean)
DefaultButtonModel.java:250
void javax.swing.AbstractButton.doClick(int)
AbstractButton.java:279
void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
BasicMenuItemUI.java:886
void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
Component.java:3715
void java.awt.Component.processEvent(java.awt.AWTEvent)
Component.java:3544
void java.awt.Container.processEvent(java.awt.AWTEvent)
Container.java:1164
void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
Component.java:2593
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1213
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
Container.java:2451
boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
Container.java:2216
boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
Container.java:2125
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1200
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
Window.java:922
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
EventQueue.java:339
boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
EventDispatchThread.java:131
void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
EventDispatchThread.java:98
void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
EventDispatchThread.java:93
void java.awt.EventDispatchThread.run()
EventDispatchThread.java:85
Exception occurred during event dispatching:
java.lang.NullPointerException
java.util.Vector oracle.dss.queryBuilder.stepView.ConditionStepView.getQDRMemberNames(java.lang.String, oracle.dss.selection.OlapQDR)
ConditionStepView.java:230
void oracle.dss.queryBuilder.stepView.ConditionStepView.updateQDRControls()
ConditionStepView.java:606
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateQDR()
MeasConditionStepView.java:451
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
MeasConditionStepView.java:208
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorContents()
MeasConditionStepView.java:271
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateMeasureEditorSelection()
MeasConditionStepView.java:161
void oracle.dss.queryBuilder.stepView.MeasConditionStepView.updateControls()
MeasConditionStepView.java:148
void oracle.dss.queryBuilder.stepView.StepView.updateStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int)
StepView.java:562
javax.swing.JPanel oracle.dss.queryBuilder.stepView.StepView.getStepEditor(oracle.dss.selection.step.Step, boolean, boolean, int, int)
StepView.java:522
void oracle.dss.queryBuilder.StepsPanelEditor.startEdit(java.awt.Component, java.lang.String, int, java.awt.Rectangle)
StepsPanelEditor.java:93
boolean oracle.dss.util.dimensionList.DimensionList.doEdit(int)
DimensionList.java:525
void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.startEditingNewSelection()
StepsPanel.java:404
void oracle.dss.queryBuilder.StepsPanel$MyDimensionListAdapter.dimensionSelected(oracle.dss.util.dimensionList.DimensionListEvent)
StepsPanel.java:374
void oracle.dss.util.dimensionList.DimensionList.notifyDimensionListListener(oracle.dss.util.dimensionList.DimensionListEvent)
DimensionList.java:2074
void oracle.dss.util.dimensionList.DimensionList.valueChanged(javax.swing.event.ListSelectionEvent)
DimensionList.java:1772
void javax.swing.JList.fireSelectionValueChanged(int, int, boolean)
JList.java:946
void javax.swing.JList$ListSelectionHandler.valueChanged(javax.swing.event.ListSelectionEvent)
JList.java:960
void javax.swing.DefaultListSelectionModel.fireValueChanged(int, int, boolean)
DefaultListSelectionModel.java:170
void javax.swing.DefaultListSelectionModel.fireValueChanged(boolean)
DefaultListSelectionModel.java:140
void javax.swing.DefaultListSelectionModel.setValueIsAdjusting(boolean)
DefaultListSelectionModel.java:507
void javax.swing.JList.setValueIsAdjusting(boolean)
JList.java:1261
void javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
BasicListUI.java:831
void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
AWTEventMulticaster.java:231
void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
AWTEventMulticaster.java:230
void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
Component.java:3715
void oracle.dss.util.dimensionList.DragList.processMouseEvent(java.awt.event.MouseEvent)
DragList.java:202
void oracle.dss.util.dimensionList.DimensionList.processMouseEvent(java.awt.event.MouseEvent)
DimensionList.java:2167
void java.awt.Component.processEvent(java.awt.AWTEvent)
Component.java:3544
void java.awt.Container.processEvent(java.awt.AWTEvent)
Container.java:1164
void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
Component.java:2593
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1213
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
Container.java:2451
boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
Container.java:2216
boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
Container.java:2125
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1200
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
Window.java:922
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
EventQueue.java:339
boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
EventDispatchThread.java:131
void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
EventDispatchThread.java:98
void java.awt.Dialog.show()
Dialog.java:380
void java.awt.Component.show(boolean)
Component.java:946
void java.awt.Component.setVisible(boolean)
Component.java:903
boolean oracle.bali.ewt.wizard.WizardDialog.runDialog()
boolean oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog()
DefaultBuilderDialog.java:481
boolean oracle.dss.datautil.gui.DefaultBuilderDialog.run()
DefaultBuilderDialog.java:466
boolean oracle.dss.queryBuilder.QueryBuilder.run()
QueryBuilder.java:2401
void borlas.oa.Actions.actionEditQuery.doAction()
actionEditQuery.java:44
boolean borlas.oa.Actions.Action.fire()
Action.java:88
void borlas.oa.Forms.FormModule.editQuery()
FormModule.java:132
void borlas.oa.Forms.FormModule.access$6000071(borlas.oa.Forms.FormModule)
FormModule.java:42
void borlas.oa.Forms.FormModule$1.actionPerformed(java.awt.event.ActionEvent)
FormModule.java:113
void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
AbstractButton.java:1450
void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
AbstractButton.java:1504
void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
DefaultButtonModel.java:378
void javax.swing.DefaultButtonModel.setPressed(boolean)
DefaultButtonModel.java:250
void javax.swing.AbstractButton.doClick(int)
AbstractButton.java:279
void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
BasicMenuItemUI.java:886
void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
Component.java:3715
void java.awt.Component.processEvent(java.awt.AWTEvent)
Component.java:3544
void java.awt.Container.processEvent(java.awt.AWTEvent)
Container.java:1164
void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
Component.java:2593
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1213
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
Container.java:2451
boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
Container.java:2216
boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
Container.java:2125
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1200
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
Window.java:922
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
EventQueue.java:339
boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
EventDispatchThread.java:131
void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
EventDispatchThread.java:98
void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
EventDispatchThread.java:93
void java.awt.EventDispatchThread.run()
EventDispatchThread.java:85Also read this great article
http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/05/13/your-try-block-may-fail-and-your-catch-block-may-be-bypassed.aspx
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Parsing Error when using query builder
I have a query with a subquery in the WHERE statement witn multiple fields listed in the select statement.
For example, the subquery starts with "AND (center, jobid) IN SELECT center, jobid FROM ........
The query runs fine and gives me the correct data
However when I click on the Query builder option, I receive the following error
"Text is not a valid, single SELECT statement.
Parsing error:
Failed to parse SQL query.
Invalid Select Statement.
Unexpected token "from" at line13, pos 1.
Query Builder Disabled
I believe this to be a problem with the query builder, Am I correct?Query Builder is a visual environment targeted at novice/intermediate users. Some advanced and/or hard to visualize language features are not supported. The improved error messaging coming in 3.1 would indicate this is 'unsupported' rather than 'not a valid, single SELECT statement.' For example, (using scott/tiger):
Text contains unsupported syntax.
Parsing error:
Failed to parse SQL query.
Invalid SELECT statement.
Unexpected token "," at line 4, pos 16.
Query Builder disabled.
select distinct d.dname
from dept d, emp e
where d.deptno = e.deptno
and (e.deptno, e.job) in
(select x.deptno, x.job
from emp x
where x.deptno > 10
and x.job NOT IN ('MANAGER', 'PRESIDENT')
I don't know what your real query is, but refactoring to use join on derived table or table expression (or, as Gary said, separate IN clauses) rather than '(a, b) IN' will allow Query Builder to display it.
derived table: select distinct d.dname
from dept d, emp e,
(select x.deptno, x.job
from emp x
where x.deptno > 10
and x.job NOT IN ('MANAGER', 'PRESIDENT')
) filter
where d.deptno = e.deptno
and e.deptno = filter.deptno
and e.job = filter.job
table expression: with filter as (select x.deptno, x.job
from emp x
where x.deptno > 10
and x.job NOT IN ('MANAGER', 'PRESIDENT')
select distinct d.dname
from dept d, emp e, filter
where d.deptno = e.deptno
and e.deptno = filter.deptno
and e.job = filter.jobBrian Jeffries
SQL Developer Team -
OBE-15065: Syntax error query builder
Hello
i am using the below sql query.
SELECT (
A.emp ||
'200' ||
LPAD((SELECT COUNT(*) FROM TRANSACTIONS WHERE TRANSACTIONS.PROCESSED ='N'),6,'0') ||
LPAD((SELECT SUM(AMOUNT) FROM TRANSACTIONS WHERE TRANSACTIONS.PROCESSED ='N'),10,'0') ||
'000000000000' ||
LPAD(A.ORIGIN,10,' ') ||
RPAD(NVL(A.MSGAUTHCODE,' '),19,' ') ||
RPAD(NVL(A.RESERVED,' '),6,' ') ||
RPAD(A.IMDDEST,8,' ') ||
LPAD(A.BTNUMBER,7,'0'))
FROM CONTROL_TABLE A
This query works fine in sql*plus.
i am placing this query in report data wizard and the query builder gives error "OBE-15065: Syntax error"
the report i am developing is to a delimited output as a fixed length falt file.
because of this query whenever i try to export using desformat=delimite and destype=file in system parameters. the report builder crashes.
have anyone faced this sort of problem.
is there something wrong with the query and iam doing it in wrong way in the reports.
please give your suggestions
thanks in advance
krishnaYou haven't said what version of Oracle or what version of Query Builder you are using. There are things that work in SQL, but not in PL/SQL or various tools, especially in older versions. A select statement within a select clause is one of those things that gets rejected. Usually, the easiest way to fix it is to move the select statement from the select clause to the from clause. Please try the following and see if it solves your problem:
SELECT A.emp
|| '200'
|| LPAD (b.b_count, 6, '0')
|| LPAD (c.c_count, 10, '0')
|| '000000000000'
|| LPAD (A.ORIGIN, 10,' ')
|| RPAD (NVL (A.MSGAUTHCODE, ' '), 19, ' ')
|| RPAD (NVL (A.RESERVED, ' '), 6, ' ')
|| RPAD (A.IMDDEST, 8, ' ')
|| LPAD (A.BTNUMBER, 7, '0')
FROM CONTROL_TABLE A,
(SELECT COUNT (*) AS b_count
FROM TRANSACTIONS
WHERE TRANSACTIONS.PROCESSED ='N') b,
(SELECT SUM (AMOUNT) AS c_count
FROM TRANSACTIONS
WHERE TRANSACTIONS.PROCESSED ='N') c -
Query Builder - sort order causing ORA-00979 error
Hello,
I'm having an issue with the "sort order" clause in the query builder tool when using a function on the same column.
I've build a simple query in the gui and the following statement is displayed in the SQL Window
select "DEMO_ORDER_ITEMS"."ORDER_ID" as "ORDER_ID",
sum(DEMO_ORDER_ITEMS.QUANTITY) as "QUANTITY"
from "DEMO_ORDER_ITEMS" "DEMO_ORDER_ITEMS"
group by DEMO_ORDER_ITEMS.ORDER_ID
and if I add a sort order of "1" on the quantity field, the following query is changed to
select "DEMO_ORDER_ITEMS"."ORDER_ID" as "ORDER_ID",
sum(DEMO_ORDER_ITEMS.QUANTITY) as "QUANTITY"
from "DEMO_ORDER_ITEMS" "DEMO_ORDER_ITEMS"
group by DEMO_ORDER_ITEMS.ORDER_ID
order by DEMO_ORDER_ITEMS.QUANTITY DESC
When running this query I get an error
failed to parse SQL query:
ORA-00979: not a GROUP BY expression
It is quite obvious what is wrong with the query but I don't know how to get the query builder tool to generate the correct statement. The order by clause should be order by sum(DEMO_ORDER_ITEMS.QUANTITY) DESC.
I've tried to do some searching and haven't found much documentation on this issue. Any assistance is appreciated.
Thanks,
TonyWhile this statement is generally certainly true and should also be remembered, it is not really helpful for the specific case.
I think the behaviour described is a bug. However this might be one a little difficult to solve. The user unfortunatly can't influence much of the query builder results directly.
Either put 1 into the order by clause or use the column alias name without table alias name ("QUANTITY" only).
My personal solution would be NOT TO use any sort criteia in the query builder. This makes sense in so far as the generated SQL is often basis for some report. If that is an interactive report you won't add a sort order anyway. This is a layout thing and layout will be handled by the end user itself. he can choose whatever sorting he wants.
Edited by: Sven W. on Jul 22, 2009 11:43 AM -
Query Builder - Where Clause - Could not format error using date comparison
We've come across a bug in the Query Builder, under the Create Where Clause tab, if you select a column of Date type plus one of the comparison operators =, !=, <, >, <=, >=, BETWEEN or NOT BETWEEN it displays an error in the Logging Page:
Level: Severe
Source: o.d.r.queryBuilder.SQLGenerator
Message: Could not format :2010-09-02 16:20:31.0
Then under the Show SQL tab it doesn't display the date(s) you selected, e.g.
WHERE LAST_UPDATE BETWEEN AND
Also the View Results tab does not display any results.
You can still press Apply to add the SQL as is to the editor window and from there you have to manually code in the date parameters.
We're using the latest version of SQL Developer 2.1.1.64.45 Windows 32bit version with JDKHi Gordon,
When I add the following lines:
declare @refdt1 date
set @refdt =
/*select 1 from jdt1 t0 where t0.RefDate*/ '[%1]'
declare @refdt2 date
set @refdt =
/*select 1 from jdt2 t0 where t0.RefDate*/ '[%2]'
WHERE T0.RefDate >= @refdt1 and T0.RefDate <= @refdt2
... the error message is now:
Must declare the scalar variable @refdt1
Note: Before adding these lines, the query works perfectly, and returns totals from the whole database (with dynamically generated column headings!)
Thanks
Leon Lai
AMENDED QUERY:
declare @refdt1 date
set @refdt1 =
/*select 1 from jdt1 t0 where t0.RefDate*/ '[%1]'
declare @refdt2 date
set @refdt2 =
/*select 1 from jdt1 t0 where t0.RefDate*/ '[%2]'
--------- I inserted the 6 lines above ---------------------
DECLARE @listCol VARCHAR(2000)
DECLARE @query VARCHAR(4000)
SELECT @listCol =
STUFF
( SELECT DISTINCT '],[' + CAST(month(T0.RefDate) AS varchar)
FROM JDT1 T0
FOR XML PATH('')
), 1, 2, ' ') + ']'
SET @query =
'SELECT * FROM
(SELECT Account, month (T0.RefDate) Month , Debit
FROM JDT1 T0
------------------- I add the WHERE clause below --------------------
WHERE T0.RefDate >= @refdt1 and T0.RefDate <= @refdt2
GROUP BY Account, RefDate, Debit
) S
PIVOT
Sum(Debit)
FOR Month IN ('+@listCol+')
) AS pvt'
EXECUTE (@query)
Edited by: LEONLAI on Oct 21, 2011 2:36 PM -
Immediately after supplying userid/password/database parameters when launching the Oracle Query Builder, the following error message is displayed:
OBE-15952: User privilege table not loaded
OBE-15950: No Query Builder tables--Database open/save is disabled
ORA-00942: table or view does not exist
What needs to be done to eliminate the messages?hello,
query builder is no longer a supported product. however, you might want to try adding verbose=no to the commandline.
thanks,
ph. -
Oracle Query Builder 2.5 error
May be I'm posting it to the wrong forum but...
I'm getting the error BRW-15954: Oracle Query Builder 2.5 tables are missing or not installed properly when I try to launch Browser. What can I do about it?
Help please!!!
Thanks,
AlexYou may have to run some of the scripts located in 'oracle_home\browse25\sql' directory as user 'SYSTEM'.
-
Error using Taxonomy Query Builder
Hi Everybody,
I'm using Taxonomy Query Builder to create some Queries to automatically classify documents that are uploaded to KM, but when I create the Query appears the next error:
com.sapportals.wcm.repository.NotCheckedOutException
And the Query is not saved.
I have been creating a lot of queries in others folders in KM without any problem, but only with a specifics folders this happens.
Somebody has faced a similar problem??
Many thanks in advanceHi Vincent,
I found in the logs:
#0014C210C3530021000125000000518300043A5BE2B613B4#1190066226860#com.sapportals.wcm.control.classification.ClassificationResourceControl#sap.com/irj#com.sapportals.wcm.control.classification.ClassificationResourceControl#kmadmin#12841#####SAPEngine_Application_Thread[impl:3]_38##0#0#Error##Plain###Error on saving query data - - com.sapportals.wcm.repository.NotCheckedOutException
at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:399)
at java.lang.Throwable.<init>(Throwable.java:180)
at java.lang.Exception.<init>(Exception.java:29)
at com.sapportals.wcm.WcmException.<init>(WcmException.java:40)
at com.sapportals.wcm.util.content.ContentException.<init>(ContentException.java:30)
at com.sapportals.wcm.repository.ResourceException.<init>(ResourceException.java:113)
<< item 1 : >> at com.sapportals.wcm.repository.NotCheckedOutException.<init>(NotCheckedOutException.java:63)
at com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager.setContent(CmNamespaceAndContentManager.java:2071)
at com.sapportals.wcm.repository.ResourceImpl.internalUpdateContent(ResourceImpl.java:3732)
at com.sapportals.wcm.repository.ResourceImpl.updateContent(ResourceImpl.java:1834)
at com.sapportals.wcm.service.indexmanagement.retrieval.classification.QueryFolder.setQueryAsXMLFile(QueryFolder.java:203)
at com.sapportals.wcm.service.indexmanagement.retrieval.classification.QueryFolder.setQueryFast(QueryFolder.java:128)
at com.sapportals.wcm.service.indexmanagement.retrieval.classification.QueryFolder.setQuery(QueryFolder.java:116)
at com.sapportals.wcm.control.classification.ClassificationQueryControl.onSaveQuery(ClassificationQueryControl.java:1040)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sapportals.wdf.stack.Control.dispatchHtmlbEvent(Control.java:386)
at com.sapportals.wdf.stack.Control.dispatchHtmlbEvent(Control.java:391)
at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:176)
at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:539)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:77)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
any idea???
Regards -
I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60, there are not 60 tables referenced in any CM report.
Does this Query builder view work at all on any report?
(bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
Thanks,
Paul LKurt, thanks for your replies.
A couple of notes/clarifications.
1. You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE. I would recommend using Firefox too.
2. You are correct about the way to get to the Query Builder to see a graphical view of data tables. There are basically two issues with this that I mentioned, but will re-iterate:
a. If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder. Query Builder works only to create a NEW query from scratch.
b. Query builder is limited to selecting 60 fields max in your query. If you are creating a large report with many tables, you may find that 60 fields is not enough. For that you will have to work in the SQL edit screen rather than using the query builder.
I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports. You should be able to find the tables and joins documentation in the knowledgebase. -
Unable to load Query Builder component
Hello,
When I try to refresh a report in Crystal Reports 10, it displays this error message:
"Failed to load database information."
"Details: Unable to load Query Builder component."
Then, when I try to register querybuilder.dll, RegSvr32 gives this error:
"querybuilder.dll was loaded, but the DllRegisterServer entry point was not found."
Any ideas?
Thank you in advance for your help.Graham,
Thank you for your reply.
This is a new install.
As my PC's administrator, I tried as you suggested. However, I am still getting this error message when I try to run an existing report:
"Failed to load database information."
"Details: Unable to load Query Builder component."
Guy -
2 Bugs - Apex 4 - Websheets & Query Builder
Hello,
Just to make someone from the Apex Dev team aware if they aren't already.
I've come across what i think is a bug in Websheets where if you create a data grid or interactive report and then save a Named Copy of the report (so that the select list appears at the top of the report/grid with the saved report names). When you then click on any of the drop down menus like Actions, Manage, or any of the drop down tabs at the top of the page (Page, Data, Annotations, Administration) the background of the menu goes transparent making it really difficult to read the options in the menu if there is some text behind it.
If you then delete the saved report so that you just have the one version, and refresh the page the problem dissapears. I've only found this issue when using Internet Explorer 8 (not sure about earlier versions), as far as I am aware this doesn't happen in Firefox or Chrome.
Also if you log into Apex using Google Chrome and go to the Query Builder under SQL Workshop. If you click and add a table with quite a few columns (10 or more) the scroll bar is missing down the right hand side which means there is no way to select/view all of the columns in that table.
Thanks.Better make that 3 bugs.
Create a data grid from spreadsheet data. There must be a very small limit on the data you can actually upload using this thing, I just tried to upload 50 rows of data containing 12 columns (not exactly a massive amount). The data is a fictional list of employees, I have pasted the tab delimited data below.
It fails, but rather than giving an error message like "Too Much Data" it just clears out the text area and says "Data Must Be Provided". Also it doesn't seem to say anywhere what the limit on pasted data is.
I'd really appreciate it if somebody could respond to this ticket to let me know that these issues have been acknowledged.
Thanks.
Data:
FIRST_NAME LAST_NAME ADDRESS_LINE_1 ADDRESS_LINE_2 TOWN_CITY COUNTY POSTCODE PHONE_NUMBER1 PHONE_NUMBER2 EMAIL DEPARTMENT JOB_TITLE
Simon O'Donnell 387 Long Island City Drive Tempe AZ 21621 54550634696 53657655919 [email protected] Accounting Accountant
Stanley McKean 7 Palminteri Street Cape town CA 34854 34283228110 90968854129 [email protected] Accounting Accountant
Ronny Baldwin 33rd Street Ringwood NJ 14229 54153114191 19892904897 [email protected] Accounting Accountant
Chanté Graham 77 Neuwirth Street Clark NJ 17644 44238155651 42555297017 [email protected] Accounting Accountant
Owen Koyana 118 Clive Drive Ittigen OH 20453 79979711628 94321262787 [email protected] Accounting Accountant
Suzi Chan 45 Sydney Road Freising CA 20004 24306244670 15892017656 [email protected] Human Resources Administrator
Ashton Whitaker 23 O'Connor Drive Saint Paul MN 17649 33383575194 40490409444 [email protected] Human Resources Administrator
Neneh Minogue 52nd Street Chambery NJ 29477 54967529479 36274191772 [email protected] Human Resources Administrator
Angelina Ojeda 70 Jane Drive Suite 300 Ben-Gurion AZ 7837 24681394213 21589555777 [email protected] Human Resources Administrator
Emilio Minogue 22 Bush Blvd Bern OH 33137 64612176871 73714964758 [email protected] Human Resources Administrator
Roberta Sarsgaard 87 Walken Road Mt. Laurel NJ 25063 7121830568 54570046512 [email protected] Human Resources Administrator
Marc Lunch 65 Al Drive Almaty NJ 5151 96908142426 26541291842 [email protected] Human Resources Administrator
Parker Warburton 11st Street Koeln AZ 24210 52725935422 68454292728 [email protected] Human Resources Administrator
Geoffrey Eastwood 868 Buffy Street Kristiansand AZ 34152 61772127668 41794991280 [email protected] Human Resources Administrator
Jerry Logue 262 Tilda Road London KS 2A8 9C7 95746233530 52999457363 [email protected] Human Resources Administrator
Louise Schneider 11st Street Suite 201 Gaithersburg MD 34694 76872385544 42503448008 [email protected] Human Resources Administrator
Omar Thewlis 91st Street Moscow KS 26789 34185768802 27734141241 [email protected] Human Resources Administrator
Dustin Del Toro 11 Wilkinson Drive La Plata CA 11361 69771044666 48947772075 dustin.deltoro@gdatechnologies Human Resources Administrator
Meg Llewelyn 64 Timothy Drive Québec CA 4D0 9X7 83256270181 2691966515 [email protected] Human Resources Administrator
Glen Willard 27 Marie Street Spresiano OH 8729 29232670035 49180707659 [email protected] Human Resources Administrator
Illeana O'Sullivan 35 Ruiz Road Manchester NJ 5Z8 2R3 47699176357 26298603036 illeana.osullivan@trekequipmen Sales Telesales
Mint O'Donnell 68 Cook Street Framingham MA 25741 9385886977 40068593037 [email protected] Sales Telesales
Ernie Charles 47 Suchet Ave Lehi UT 11640 12315092268 41921491553 [email protected] Sales Telesales
Tramaine Perez 775 Curry Suite 200 Beaverton OR 10052 24152547387 90360041459 [email protected] Sales Telesales
Bernard Mahoney 52nd Street Ludbreg AZ 21930 65063421715 47887052203 [email protected] Sales Telesales
Todd Stuermer 40 Wagner Ave Wichita KS 26462 12471889987 58730543507 todd.stuermer@quakercitybancor Sales Telesales
Millie Amos 553 Hatfield Street Sao paulo MA 5981 68256282709 14178281728 [email protected] Sales Telesales
Franz Akins 3 Gryner Drive Livermore CA 26213 81335649303 16862350942 [email protected] Sales Telesales
Yaphet Bonham 72nd Street Suite 101 Anyang-si MA 6327 43485048831 37956286527 [email protected] Sales Telesales
Howie Flanagan 49 Imperioli Street Sihung-si NJ 1809 43066563105 63396837113 [email protected] Sales Telesales
Steven Balk 861 Assante Ave Ulsteinvik CA 3526 18463427833 99316238432 [email protected] Sales Telesales
Alicia Harrison 84 Jakarta Drive Akron OH 3733 18721340083 57094073560 [email protected] Sales Telesales
Whoopi Parish 26 Warden Street Mendoza NJ 14844 85721542820 48311086266 [email protected] Sales Telesales
Owen English 14 Douala Drive Clark NJ 11094 2283985082 34817135523 [email protected] Sales Telesales
Chubby Yulin 84 Gerald Drive Columbia MD 11757 32561417707 89267451034 [email protected] Sales Telesales
Glenn Pitney 3 Voight Di Savigliano MD 34263 83395577226 43370989196 glenn.pitney@quicksilverresour Development Develoeper
Mika Paymer 89 Flanagan Drive St. Louis MO 15086 35622263548 54260584499 [email protected] Development Develoeper
Murray McGovern 89 Donald Ave Immenstaad MD 17322 73254698420 47330422851 [email protected] Development Develoeper
Ernie Redford 34 Ehningen Suite 200 Solikamsk OH 39976 86055059780 48924782157 [email protected] Development Develoeper
Avril DeVita 55 Karlsruhe Road Meerbusch OH 1951 51850605994 1153570187 avril.devita@usdairyproducers. Development Develoeper
Thelma Rush 4 Andre Road Suite 100 Dietikon MO 27313 67647167317 29429631371 [email protected] Development Develoeper
Thin Nicholson 88 Slater Ave Nancy AZ 7872 9887481644 320600125 [email protected] Development Develoeper
Roy Crimson 82 Jacksonville Road Dublin KS 36575 85597843215 71835543117 [email protected] Development Develoeper
Murray Stanley 86 Aracruz Street Ciudad del Este MO 9581 73783495943 52407792648 [email protected] Development Develoeper
Meryl Zellweger 58 Charles Street Suite 201 San Dimas CA 13921 87581534618 51562540607 meryl.zellweger@millersystems. Development Develoeper
Jake Buffalo 60 Cox Drive San Dimas CA 27076 22095103035 73337559023 [email protected] Development Develoeper
Drew Sharp 23 Masur Road Milton Keynes MO 6B7 4J3 98371242672 96437093331 [email protected] Development Develoeper
Vonda Reno 74 Bo Road Reykjavik NJ 21777 55961683544 30874610356 [email protected] Development Develoeper
Ashton Knight 6 Flack Road Storrington CA 7A5 0O0 96863906342 52454871460 [email protected] Development Develoeper
Hookah Madonna 44 Dabney Drive Traralgon AZ 2958 65935470447 48936698434 [email protected] Development Develoeper
Maybe you are looking for
-
Error while settlement of IO to Asset
Dear Experts, We are settling IO to multiple assets using KO88 and get the below error , any tips would assist System error: Master area for proof of origin not found Message no. AW 666 regards Diwakar
-
Deleting a picture in iPhoto AND the file in the finder at once
How can I delete a picture in iPhoto and also delete the file of that picture in the finder in one step? In iTunes the program asks the question if the real file should be deleted also.
-
Hello, Thanks for your help on my successful installation of PI. After running template installer, Do i need to configure anything more. For SLD, Do i need to do any extra. I installed PI7 (2004s SR1) on Windows with maxDB. and ofcourse local SLD. I
-
Anyone have any luck importing native from Canon XF305 camcorder?
I am running Lion and FCP X 10.0.5........Wonder if anyone has a recommendation for cleanest situation other than native if they have been using it with X allready Many thanks
-
Getting rid of network items in the finder window
For the life of me I can't find any info on this, so here goes. In my finder window on the side bar, I have a category called shared. When I expand it lists an item named All..... When I click on All.... it displays in the main icon window what appea