Re: Store big SQL(15000 char+) in the database.
I have 2 very big SQL (almost 15000 char each). I have to store them in 2 saperate columns in a database table.
After storing them when ever require, sql will be retrieved and executed to get the values.
As varchar2 supports only 4000 chars. What would be the best data type to store big SQLs in the same table?
Thanks
>
Ooops, I misread original post. Somehow I read 15,000 as 150,000. MichaelS is right, PL/SQL VARCHAR2 is 32K-1 but is some cases it will work with up to 64K-1 (although not supported abd subject to change in next releases). Anyway, for up to 32,767 byte clobs:
SQL> declare c clob := to_clob('select ''') || lpad('X',4000,'X') || ''' from dual';
2 begin
3 execute immediate c;
4 end;
5 /
execute immediate c;
ERROR at line 3:
ORA-06550: line 3, column 19:
PLS-00382: expression is of wrong type
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored
SQL> declare c clob := to_clob('select ''') || lpad('X',4000,'X') || ''' from dual';
2 begin
3 execute immediate to_char(c);
4 end;
5 /
PL/SQL procedure successfully completed.
SQL> SY.
Similar Messages
-
SQL error occurred in the database when acces
Dear All,
I am getting following error message while doing file to file scenario.
source side messages are pickedup and entering into the Queues .receiver side i cant able to see any souce messages.
SYSFAIL Message is showing in the Queues when i was double click that message its giving following message.
SQL error occurred in the database when acces
a table.
Plz, help me in this regard.
Thanks,
MaheshHi Mahesh,
Did you get a chance to check the IPC log directories
Also usually for a sysfail message you can check the smw01
You will see a bdoc with status F05. What does it say there?
or
Is it "Scheduled for outbound processing" or "recorded for outbound processing".
I guess the message has not been processed, so the next step is to go to transaction SMQ2, and check for info as to why it is not processed.
If you see a queue status of SYSFAIL, first try resetting it to "Ready" again. If it still fails then, delete that particular LUW. And if you still have some more messages in the queue just click the unlock queue button.
Reward points if this helps
Regards
Pragathi. -
STORE A COMPLETE FILE SYSTEM IN THE DATABASE 11GR2
Hi everyone
I have the following issue:
I tried to store in an oracle database TABLE the completre file structure
of a file system that includes the follwing:
-Name of the file
-Date of last modification
-Location
-The entire content of the phisical file BLOB datatype
I have the following piece of code to archieve this, but i still have a
problem...
When i tried to add the records to the database by implememting all
the connecttions stuffs, oracle and java classes required the program
inserts a FEW RECORDS and after that:
¡¡¡hangs up!!!.
The main problem is that i cant release the connection and get another new when i using
JDBC POOL so the server full their available connections.
Please tell me what is the best approach or programming practice on order to
meet this goal.
Thanks from Colombia - Latin America..
HERE IS THE CODE:
import java.io.* ;
* A simple class to demonstrate a recursive directory traversal
* in Java.
* Error handling was left out to make the code easier to understand.
* In production code, you should check if the arguments from the
* command line are really file files or directories.
public class RecursiveTraversal
* Works on a single file system entry and
* calls itself recursively if it turns out
* to be a directory.
* @param file A file or a directory to process
public void traverse( File file )
// Print the name of the entry
//System.out.println( file ) ;
// Check if it is a directory
if( file.isDirectory() )
// Get a list of all the entries in the directory
String entries[] = file.list() ;
// Ensure that the list is not null
if( entries != null )
// Loop over all the entries
for( String entry : entries )
// Recursive call to traverse
traverse( new File(file,entry) ) ;
else
if(file.isFile())
System.out.println( file.getParent() ) ;
System.out.println( file.getName() ) ;
else
System.out.println("*** WRONG VALUE ***");
* The program starts here.
* @param args The arguments from the command line
public static void main( String args[] )
// Create an object of this class
RecursiveTraversal rt = new RecursiveTraversal() ;
if( args.length == 0 )
// If there are no arguments, traverse the current directory
rt.traverse( new File(".") ) ;
else
// Else process every argument sequentially
for( String arg : args )
rt.traverse( new File(arg) ) ;
}Thanks for the reply, the implementation that you refer is useful for another type of application i need to stored the file system in a TABLE of a database
in order to make a part of an information system integration and can use SQL statements to acomplish this.
I follow the recomendation and post it in the SQL/JDBC forum because when i try to release de active connection i can't acomplish this.
And i need to know how to use JDBC connection poolling to open a connection just once, release and use it again. -
How to store a varying length string in the database
Hi,
what is the best way to store a string (which can be infinitely long) in the database?
there's limitation on varchar2...can i use blobs/clobs ??
Thanks in advance for any enlightenment!
nullIs this a JDBC question?
Meta data solutions mean that you will only find problems at runtime that would be obvious at compile time with a non-metadata solution. Code generation makes production of large numbers of these easy.
But if you want metadata then you create a seperate class in a seperate package which holds the constants. The specifics depend on the implementation but you will typically have one class for each 'type' that is supported.
That package is used by both the server and the client code.
You can of course put other common functionality in the package (like a wrappers for the collections themselves, validation of names, etc.) -
Run SQL developer to conect the database
Trying to run SQL developer to connect to the database on a windows 7 laptop.
I got the following message:
status: failure: test failed. Listener refused the connection with the following error: ORA-12505. TNS: listener does not currently know of SID in connect descriptor937159 wrote:
Trying to run SQL developer to connect to the database on a windows 7 laptop.
I got the following message:
status: failure: test failed. Listener refused the connection with the following error: ORA-12505. TNS: listener does not currently know of SID in connect descriptor
>Trying to run SQL developer to connect to the database on a windows 7 laptop.
I got the following message:
status: failure: test failed. Listener refused the connection with the following error: ORA-12505. TNS: listener does not currently know of SID in connect descriptor
open Command Window & issue OS commands below
lsnrctl status
lsnrctl service
COPY commands & results then PASTE all back here -
How to store images along with text in the database ------its urgent
i'm developing an application which will be similar to to the page which we use for posting the forum. if in a text field we enter some text and an image how does we store the whole the information in database which in the textarea (both the text entered and the image) and how it can be extracted as if the user entered
Hi,
Refer thsi link, this may help you
http://www.sap-basis-abap.com/saphr003.htm
Call the FM BDS_BUSINESSDOCUMENT_CREATEF to upload the images from System.
codeLOGICAL_SYSTEM
CLASSNAME PICTURES
CLASSTYPE OT
CLIENT 321
OBJECT_KEY ZIMAGE [/code]
and the table parameter Files pass
code DOC_COUNT 00000001
COMP_COUNT 00000001
COMP_ID
DIRECTORY C:\
FILENAME WINTER.JPG
MIMETYPE
[/code]
now check it.
here you can upload multiple images inside a loop call the FM.
Regards,
Shiva. -
What is the sql query to know the database name having known table name?
when i am running the following query....error coming
select * from information_schema.tables where table_name = 'articles'
Error starting at line 1 in command:
select * from information_schema.tables where table_name = 'articles'
Error at Command Line:1 Column:33
Error report:
SQL Error: ORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist"
*Cause:
*Action:
i am running the above query in SQLDeveloper tool against ORACLE database
plz give alternate solution.Hi,
select * from information_schema.tables where table_name = 'articles'You are trying query view ( information_schema.tables ) from MSSQL on ORACLE??!!
Each RDBMS have your own data dictionary... you must check documention of ORACLE to query the properly data dictionary.
Try it:
select * from users_tables where table_name = 'articles'
or
select * from all_tables where table_name = 'articles'
or
select * from dba_tables where table_name = 'articles'http://docs.oracle.com/cd/E11882_01/server.112/e25494/general011.htm#ADMIN11564
Regards,
Levi Pereira -
Store value of multiple checkboxes in the database
Hello,
I have a table structure as table (masterid, types). Types has four values as AAA, BBB, CCC, DDD.
I was wondering if there is any easiest and good way to implement this in Oracle forms. Currently, I have four checkboxes in the form. Each checkboxes has When-Checkbox-Changed trigger. In the trigger, I have put insert and delete statement depending on the value of the checkbox.
Thanks for your help.
Edited by: user12068331 on Jun 2, 2010 11:42 AMHi Ammad,
Thank you for your reply.
I would really like the see the actuall table structure which you are having.
I have created a sample script identical to my table structure.
DROP TABLE "PEOPLE_INTERESTS" ;
DROP TABLE PEOPLE;
CREATE TABLE "PEOPLE"
( "PEOPLEID" NUMBER,
"FNAME" VARCHAR2(40 BYTE) NOT NULL ENABLE,
"LNAME" VARCHAR2(40 BYTE) NOT NULL ENABLE,
CONSTRAINT "PEOPLE_PK" PRIMARY KEY ("PEOPLEID")
insert into PEOPLE(PEOPLEID,FNAME,LNAME) VALUES(11111, 'ANDY', 'ADAMS');
insert into PEOPLE(PEOPLEID,FNAME,LNAME) VALUES(22222, 'BRIAN', 'BANK');
insert into PEOPLE(PEOPLEID,FNAME,LNAME) VALUES(33333, 'CAROL', 'CAMPS');
DROP TABLE "INTERESTS_TYPE" ;
CREATE TABLE "INTERESTS_TYPE"
( "INTERESTID" CHAR(3 BYTE),
"INTERESTS" CHAR(30 BYTE),
CONSTRAINT "INTERESTS_TYPE_PK" PRIMARY KEY ("INTERESTID")
insert into INTERESTS_TYPE(INTERESTID,INTERESTS) VALUES('AAA', 'AGRICULTURE');
insert into INTERESTS_TYPE(INTERESTID,INTERESTS) VALUES('BBB', 'BOOKS');
insert into INTERESTS_TYPE(INTERESTID,INTERESTS) VALUES('CCC', 'COMPUTER');
insert into INTERESTS_TYPE(INTERESTID,INTERESTS) VALUES('DDD', 'FINANCE');
CREATE TABLE "PEOPLE_INTERESTS"
( "PEOPLEID" NUMBER,
"INTERESTID" CHAR(3 BYTE)
CONSTRAINT "PEOPLE_INTERESTS_CHECK" CHECK (Interestid IN ('AAA', 'BBB','CCC','DDD')) ENABLE,
CONSTRAINT "FK_PEOPLE_INTERESTS" PRIMARY KEY ("PEOPLEID", "INTERESTID"),
CONSTRAINT "FK_PEOPLE_INTERESTS_PEOPLE" FOREIGN KEY ("PEOPLEID")
REFERENCES "PEOPLE" ("PEOPLEID") ,
CONSTRAINT "FK_PEOPLE_INTERESTS_TYPE" FOREIGN KEY ("INTERESTID")
REFERENCES "INTERESTS_TYPE" ("INTERESTID")
insert into PEOPLE_INTERESTS(PEOPLEID,INTERESTID) VALUES(11111,'AAA');
insert into PEOPLE_INTERESTS(PEOPLEID,INTERESTID) VALUES(11111,'CCC');
insert into PEOPLE_INTERESTS(PEOPLEID,INTERESTID) VALUES(33333,'CCC');
insert into PEOPLE_INTERESTS(PEOPLEID,INTERESTID) VALUES(33333,'BBB');
insert into PEOPLE_INTERESTS(PEOPLEID,INTERESTID) VALUES(33333,'DDD');
In the form, when user search for 'ANDY ADAMS', the out of four checkboxes,''AGRICULTURE'' and 'COMPUTER' checkboxes should be checked.
I am working on what you wrote in the provious post and I get the idea of using cursor. Do I have to put his cursor in "WHNE_NEW_FORM_INSTANCE". I am sorry, you have to explain everything but I am new to this whole forms concept.
Thanks,
Girish -
How do I store oracle forms and reports in the database
Hi !!
Is there a way I can store the forms and reports runtime in the
oracle database ??
We are working on forms 5.0, reports 3.0
oracle 8.0.5.0.0 on HP-Unix
Can someone guide me step by step from storing the forms to
accessing it back on the desktop.
Thanks in advance,
Shobhit Kumar
nullYou need SMB compatible names.. for both TC and if you use wireless then wireless.. short, no spaces, pure alphanumeric.
Go to the disk file sharing page.. turn on guest account.. read and write access.
Give it the right workgroup .. usually WORKGROUP
Load bonjour for windows onto the windows machine.. that should be included with the airport utility for windows. -
Setup problem - sql server 2014 - "could not find the database engine startup handle" - 0x851a0019
I tried to install ,deleted and re-installed several times and no help at all.
visual studio 2013 with update 2 rc and adk installed in my computer.
error code: 0x851a0019
error messege in setup: could not find the database engine startup handle
edition: Microsoft SQL Server 2014 Enterprise (Evaluation)
logs:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061893607
Start time: 2014-04-03 13:53:29
End time: 2014-04-03 14:47:48
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for RS: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for SQLEngine: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for DQ: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for FullText: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for Replication: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Machine Properties:
Machine name: ARIELUBA-PC
Machine processor count: 8
OS version: Windows 8
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature
Language Edition Version Clustered Configured
SQL Server 2012 SQLEXPRESS MSSQL11.SQLEXPRESS Database Engine Services 1033
Express Edition 11.1.3128.0 No Yes
SQL Server 2012 SQLEXPRESS MSSQL11.SQLEXPRESS SQL Server Replication 1033
Express Edition 11.1.3128.0 No Yes
SQL Server 2012 ADK MSSQL11.ADK Database Engine Services
1033 Express Edition 11.0.2100.60 No Yes
SQL Server 2012 ADK MSSQL11.ADK SQL Server Replication
1033 Express Edition 11.0.2100.60 No Yes
SQL Server 2012 LocalDB
1033 Express Edition 11.1.3412.0 No Yes
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
SPLevel: 0
Installation location: C:\Users\Arie Luba\Downloads\WS2012R2DC\SQLServer2014-x64-ENU\x64\setup\
Installation edition: Evaluation
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT Service\SQLSERVERAGENT
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Manual
ASBACKUPDIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Backup
ASCOLLATION: Hebrew_CI_AS
ASCONFIGDIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Config
ASDATADIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Data
ASLOGDIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: NT Service\MSSQLServerOLAPService
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: ARIELUBA-PC\Arie Luba
ASTEMPDIR: C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Temp
BROWSERSVCSTARTUPTYPE: Automatic
CLTCTLRNAME:
CLTRESULTDIR: C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir\
CLTSTARTUPTYPE: Manual
CLTSVCACCOUNT: NT Service\SQL Server Distributed Replay Client
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir\
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140403_135327\ConfigurationFile.ini
CTLRSTARTUPTYPE: Manual
CTLRSVCACCOUNT: NT Service\SQL Server Distributed Replay Controller
CTLRSVCPASSWORD: <empty>
CTLRUSERS: ARIELUBA-PC\Arie Luba
ENABLERANU: false
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, RS, RS_SHP, RS_SHPWFE, DQC, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, DREPLAY_CTLR, DREPLAY_CLT, MDS
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: NT Service\MSSQLFDLauncher
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: MSSQLSERVER
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: NT Service\MsDtsServer120
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: SharePointFilesOnlyMode
RSSVCACCOUNT: NT Service\ReportServer
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: Hebrew_CI_AS
SQLSVCACCOUNT: NT Service\MSSQLSERVER
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: ARIELUBA-PC\Arie Luba
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 1
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140403_135327\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools SDK
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Feature: Management Tools - Basic
Status: Passed
Feature: Reporting Services - Native
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: Data Quality Services
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: Full-Text and Semantic Extractions for Search
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: Master Data Services
Status: Passed
Feature: Distributed Replay Client
Status: Passed
Feature: Distributed Replay Controller
Status: Passed
Feature: Integration Services
Status: Passed
Feature: Data Quality Client
Status: Passed
Feature: Analysis Services
Status: Passed
Feature: Reporting Services - SharePoint
Status: Passed
Feature: Reporting Services Add-in for SharePoint Products
Status: Passed
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: Setup Support Files
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140403_135327\SystemConfigurationCheck_Report.htm
2014-04-03 14:14:28.01 Server Microsoft SQL Server 2014 - 12.0.2000.8 (X64)
Feb 20 2014 20:04:26
Copyright (c) Microsoft Corporation
Enterprise Evaluation Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)
2014-04-03 14:14:28.01 Server UTC adjustment: 3:00
2014-04-03 14:14:28.01 Server (c) Microsoft Corporation.
2014-04-03 14:14:28.01 Server All rights reserved.
2014-04-03 14:14:28.01 Server Server process ID is 7148.
2014-04-03 14:14:28.01 Server System Manufacturer: 'Dell Inc.', System Model: 'Inspiron N5110'.
2014-04-03 14:14:28.01 Server Authentication mode is WINDOWS-ONLY.
2014-04-03 14:14:28.01 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
2014-04-03 14:14:28.01 Server The service account is 'NT Service\MSSQLSERVER'. This is an informational message; no user action is required.
2014-04-03 14:14:28.01 Server Registry startup parameters:
-d C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\master.mdf
-e C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log\ERRORLOG
-l C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
2014-04-03 14:14:28.01 Server Command Line Startup Parameters:
-s "MSSQLSERVER"
-m "SqlSetup"
-Q
-q "Hebrew_CI_AS"
-T 4022
-T 4010
-T 3659
-T 3610
-T 8015
2014-04-03 14:14:28.28 Server SQL Server detected 1 sockets with 4 cores per socket and 8 logical processors per socket, 8 total logical processors; using 8 logical processors based on SQL Server licensing. This is an informational message;
no user action is required.
2014-04-03 14:14:28.28 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2014-04-03 14:14:28.28 Server Detected 8099 MB of RAM. This is an informational message; no user action is required.
2014-04-03 14:14:28.28 Server Using conventional memory in the memory manager.
2014-04-03 14:14:28.31 Server Default collation: SQL_Latin1_General_CP1_CI_AS (us_english 1033)
2014-04-03 14:14:28.34 Server Perfmon counters for resource governor pools and groups failed to initialize and are disabled.
2014-04-03 14:14:28.36 Server Query Store settings initialized with enabled = 1,
2014-04-03 14:14:28.36 Server The maximum number of dedicated administrator connections for this instance is '1'
2014-04-03 14:14:28.36 Server Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message
only. No user action is required.
2014-04-03 14:14:28.38 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2014-04-03 14:14:28.39 Server Database Mirroring Transport is disabled in the endpoint configuration.
2014-04-03 14:14:28.39 spid8s Warning ******************
2014-04-03 14:14:28.39 spid8s SQL Server started in single-user mode. This an informational message only. No user action is required.
2014-04-03 14:14:28.40 spid8s Starting up database 'master'.
2014-04-03 14:14:28.42 Server Software Usage Metrics is disabled.
2014-04-03 14:14:28.48 Server CLR version v4.0.30319 loaded.
2014-04-03 14:14:28.56 Server Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\.
2014-04-03 14:14:28.62 spid8s SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2014-04-03 14:14:28.63 spid8s SQL Server Audit has started the audits. This is an informational message. No user action is required.
2014-04-03 14:14:28.64 spid8s SQL Trace ID 1 was started by login "sa".
2014-04-03 14:14:28.64 spid8s Server name is 'ARIELUBA-PC'. This is an informational message only. No user action is required.
2014-04-03 14:14:28.65 spid16s Password policy update was successful.
2014-04-03 14:14:28.66 spid16s Error: 17190, Severity: 16, State: 1.
2014-04-03 14:14:28.66 spid16s Initializing the FallBack certificate failed with error code: 1, state: 20, error number: 0.
2014-04-03 14:14:28.66 spid16s Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2014-04-03 14:14:28.66 spid16s Error: 17182, Severity: 16, State: 1.
2014-04-03 14:14:28.66 spid16s TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
2014-04-03 14:14:28.66 spid16s Error: 17182, Severity: 16, State: 1.
2014-04-03 14:14:28.66 spid16s TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
2014-04-03 14:14:28.66 spid16s Error: 17826, Severity: 18, State: 3.
2014-04-03 14:14:28.66 spid16s Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2014-04-03 14:14:28.67 spid16s Error: 17120, Severity: 16, State: 1.
2014-04-03 14:14:28.67 spid16s SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
________________________________________________________________________________________________Is it okay? (see below)
;SQL Server 2014 Configuration File
[OPTIONS]
; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.
ACTION="Install"
; Detailed help for command line argument ROLE has not been defined yet.
ROLE="AllFeatures_WithDefaults"
; Use the /ENU parameter to install the English version of SQL Server on your localized Windows operating system.
ENU="True"
; Parameter that controls the user interface behavior. Valid values are Normal for the full UI,AutoAdvance for a simplied UI, and EnableUIOnServerCore for bypassing Server Core setup GUI block.
UIMODE="Normal"
; Setup will not display any user interface.
QUIET="False"
; Setup will display progress only, without any user interaction.
QUIETSIMPLE="False"
; Specify whether SQL Server Setup should discover and include product updates. The valid values are True and False or 1 and 0. By default SQL Server Setup will include updates that are found.
UpdateEnabled="True"
; Specify if errors can be reported to Microsoft to improve future SQL Server releases. Specify 1 or True to enable and 0 or False to disable this feature.
ERRORREPORTING="False"
; If this parameter is provided, then this computer will use Microsoft Update to check for updates.
USEMICROSOFTUPDATE="False"
; Specifies features to install, uninstall, or upgrade. The list of top-level features include SQL, AS, RS, IS, MDS, and Tools. The SQL feature will install the Database Engine, Replication, Full-Text, and Data Quality Services (DQS) server. The Tools feature
will install Management Tools, Books online components, SQL Server Data Tools, and other shared components.
FEATURES=SQLENGINE,REPLICATION,FULLTEXT,DQ,AS,RS,RS_SHP,RS_SHPWFE,DQC,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,DREPLAY_CTLR,DREPLAY_CLT,MDS
; Specify the location where SQL Server Setup will obtain product updates. The valid values are "MU" to search Microsoft Update, a valid folder path, a relative path such as .\MyUpdates or a UNC share. By default SQL Server Setup will search Microsoft Update
or a Windows Update service through the Window Server Update Services.
UpdateSource="MU"
; Displays the command line parameters usage
HELP="False"
; Specifies that the detailed Setup log should be piped to the console.
INDICATEPROGRESS="False"
; Specifies that Setup should install into WOW64. This command line argument is not supported on an IA64 or a 32-bit system.
X86="False"
; Specify the root installation directory for shared components. This directory remains unchanged after shared components are already installed.
INSTALLSHAREDDIR="C:\Program Files\Microsoft SQL Server"
; Specify the root installation directory for the WOW64 shared components. This directory remains unchanged after WOW64 shared components are already installed.
INSTALLSHAREDWOWDIR="C:\Program Files (x86)\Microsoft SQL Server"
; Specify a default or named instance. MSSQLSERVER is the default instance for non-Express editions and SQLExpress for Express editions. This parameter is required when installing the SQL Server Database Engine (SQL), Analysis Services (AS), or Reporting Services
(RS).
INSTANCENAME="MSSQLSERVER"
; Specify that SQL Server feature usage data can be collected and sent to Microsoft. Specify 1 or True to enable and 0 or False to disable this feature.
SQMREPORTING="False"
; Specify the Instance ID for the SQL Server features you have specified. SQL Server directory structure, registry structure, and service names will incorporate the instance ID of the SQL Server instance.
INSTANCEID="MSSQLSERVER"
; The computer name that the client communicates with for the Distributed Replay Controller service.
CLTCTLRNAME="SQLDRC"
; The Windows account(s) used to grant permission to the Distributed Replay Controller service.
CTLRUSERS="ARIELUBA-PC\Arie Luba"
; The account used by the Distributed Replay Controller service.
CTLRSVCACCOUNT="NT Service\SQL Server Distributed Replay Controller"
; The startup type for the Distributed Replay Controller service.
CTLRSTARTUPTYPE="Manual"
; The account used by the Distributed Replay Client service.
CLTSVCACCOUNT="NT Service\SQL Server Distributed Replay Client"
; The startup type for the Distributed Replay Client service.
CLTSTARTUPTYPE="Manual"
; The result directory for the Distributed Replay Client service.
CLTRESULTDIR="C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir"
; The working directory for the Distributed Replay Client service.
CLTWORKINGDIR="C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir"
; RSInputSettings_RSInstallMode_Description
RSINSTALLMODE="DefaultNativeMode"
; RSInputSettings_RSInstallMode_Description
RSSHPINSTALLMODE="SharePointFilesOnlyMode"
; Specify the installation directory.
INSTANCEDIR="C:\Program Files\Microsoft SQL Server"
; Agent account name
AGTSVCACCOUNT="NT Service\SQLSERVERAGENT"
; Auto-start service after installation.
AGTSVCSTARTUPTYPE="Manual"
; Startup type for Integration Services.
ISSVCSTARTUPTYPE="Automatic"
; Account for Integration Services: Domain\User or system account.
ISSVCACCOUNT="NT Service\MsDtsServer120"
; The name of the account that the Analysis Services service runs under.
ASSVCACCOUNT="NT Service\MSSQLServerOLAPService"
; Controls the service startup type setting after the service has been created.
ASSVCSTARTUPTYPE="Automatic"
; The collation to be used by Analysis Services.
ASCOLLATION="Hebrew_CI_AS"
; The location for the Analysis Services data files.
ASDATADIR="C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Data"
; The location for the Analysis Services log files.
ASLOGDIR="C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Log"
; The location for the Analysis Services backup files.
ASBACKUPDIR="C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Backup"
; The location for the Analysis Services temporary files.
ASTEMPDIR="C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Temp"
; The location for the Analysis Services configuration files.
ASCONFIGDIR="C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Config"
; Specifies whether or not the MSOLAP provider is allowed to run in process.
ASPROVIDERMSOLAP="1"
; Specifies the list of administrator accounts that need to be provisioned.
ASSYSADMINACCOUNTS="ARIELUBA-PC\Arie Luba"
; Specifies the server mode of the Analysis Services instance. Valid values are MULTIDIMENSIONAL and TABULAR. The default value is MULTIDIMENSIONAL.
ASSERVERMODE="MULTIDIMENSIONAL"
; CM brick TCP communication port
COMMFABRICPORT="0"
; How matrix will use private networks
COMMFABRICNETWORKLEVEL="0"
; How inter brick communication will be protected
COMMFABRICENCRYPTION="0"
; TCP port used by the CM brick
MATRIXCMBRICKCOMMPORT="0"
; Startup type for the SQL Server service.
SQLSVCSTARTUPTYPE="Automatic"
; Level to enable FILESTREAM feature at (0, 1, 2 or 3).
FILESTREAMLEVEL="0"
; Set to "1" to enable RANU for SQL Server Express.
ENABLERANU="False"
; Specifies a Windows collation or an SQL collation to use for the Database Engine.
SQLCOLLATION="Hebrew_CI_AS"
; Account for SQL Server service: Domain\User or system account.
SQLSVCACCOUNT="NT Service\MSSQLSERVER"
; Windows account(s) to provision as SQL Server system administrators.
SQLSYSADMINACCOUNTS="ARIELUBA-PC\Arie Luba"
; Provision current user as a Database Engine system administrator for %SQL_PRODUCT_SHORT_NAME% Express.
ADDCURRENTUSERASSQLADMIN="True"
; Specify 0 to disable or 1 to enable the TCP/IP protocol.
TCPENABLED="1"
; Specify 0 to disable or 1 to enable the Named Pipes protocol.
NPENABLED="0"
; Startup type for Browser Service.
BROWSERSVCSTARTUPTYPE="Automatic"
; Specifies which account the report server NT service should execute under. When omitted or when the value is empty string, the default built-in account for the current operating system.
; The username part of RSSVCACCOUNT is a maximum of 20 characters long and
; The domain part of RSSVCACCOUNT is a maximum of 254 characters long.
RSSVCACCOUNT="NT Service\ReportServer"
; Specifies how the startup mode of the report server NT service. When
; Manual - Service startup is manual mode (default).
; Automatic - Service startup is automatic mode.
; Disabled - Service is disabled
RSSVCSTARTUPTYPE="Automatic"
; Add description of input argument FTSVCACCOUNT
FTSVCACCOUNT="NT Service\MSSQLFDLauncher" -
How to find all the sql executed in the database
Hi
We want to be able to collect all the sql statements executed in the database and be able to dump them in a file or a table. Can anyone tell me how we can get that done?
Regards,if you are using oracle 10g, you can use one of the
option of datapump tool to do thisthat's new to me, can you show us how ?
For OP, you can check v$sqlarea view to find out all the sql statement still in shared_pool, however, there's no guarantee you will have all sql executed since database started.
Like other poster mentioned, enable auditing if you want to collect that information. -
Storing dymanic content in the database
I am trying to allow the user to create their own "reports" and I need them to be able to store content with variables names into the database.
for example
A user would type the following information into a multi-line text box and store that in a SQL database field.
Hello, #firstName#, Thank you for contacting us on #contactdate#. If there is anything I can help you with, please contact me at #companyPhone#.
There would then be a page that would look like this:
<cfquery name="getContent" datasource="x">
select usercontent
from contenttable
where id = 1
</cfquery>
<cfquery name="getList" datasource="x">
select firstname, contactdate, email
from userlist
</cfquery>
<cfmail to="#email" from="[email protected]" subject="Follow up" query="getList">
#getContent.usercontent#
</cfmail>
So basically, I want the email to be compiled from the text that the user enters into the DB, and the variables populated with the correct info.
I've tried playing with the evaluate() and de() fields but I cant get on the right track.
If I use #evaluate(getcontent.usercontent)# I can get it to work, only using 1 variable. I cant get it to work with the whole paragraph of text.
any help would be greatly appreciated.
steveafter more digging I found a solution that worked:
<cffunction access="private" name="ConvertLinks" returntype="string">
<cfargument name="theContent" type="string" required="yes">
<cfset var theReturn=arguments.theContent>
<!--- setup each field that may be used --->
<Cfsavecontent variable="firstname">#firstname#</Cfsavecontent>
<Cfsavecontent variable="contactdate">#contactdate#</Cfsavecontent>
<Cfsavecontent variable="email">#clinicianid#</Cfsavecontent>
<!--- replace each field that may be used, case sensative --->
<Cfset theReturn=replace(theReturn,firstname,Evaluate(de(firstname)),"All")>
<Cfset theReturn=replace(theReturn,contactdate,Evaluate(de(contactdate)),"All")>
<Cfset theReturn=replace(theReturn,email,Evaluate(de(email)),"All")>
<!--- return the usable value --->
<cfreturn theReturn>
</cffunction>
and I call
<cfoutput>#convertlinks(getContent.usercontent)# </cfoutput>
on my page. -
Connecting to the database taking long time to connect database server
Hi
When I execute procedure i am getting the below message at bottom of the Oracle SQL Developer
"Connecting to the database"
it is taking more than 10 min plz guideHi
have you installed a normal Oracle Client also on your Host? normal Oracle Client
Did you connect with host:port:sid or with a Oracle Naming Service? through TNS Service
Can you test tnsping <alias> yes, It is working fine
Did other user have the same problem? yes
Did you connect through WAN or LAN connection? LAN (Intranet)
Can you tell more about you client/database setup?
Database setup:
OS: Window 2008 server
version: 11.1.0
Client: 11.1.0
OS: Window 2008 server
Now I am not able to execute single select query which table contains 6 records and 15 columns it is taking long time I have waited 30 min still no resutls
only one table is behaving like this remaining is working fine
Edited by: user9235224 on Oct 6, 2012 7:06 PM -
Can I run a report based on the occurance of an event in the database
(eg some data has been inserted into a table)?
I read in the FAQ of Report that is possible and i have to use some PL/SQL stored procedures in the database that use the UTL_HTTP package (available in 7.3 or later) to issue the HTTP request to the server to run the report. However in the next release of Oracle Reports (Reports 9i), some PL/SQL procedures will be supplied to accomplish this.
Have someone any idea about this? and if someone have this package, can he send me an example.
thanks in advance.Hello,
You will find documentation and examples in
Oracle9iAS Reports Services Publishing Reports to the Web
Release 2 (9.0.2)
Part Number A92102-01
11
Event-Driven Publishing
Take a look at :
http://otn.oracle.com/products/reports/htdocs/getstart/GettingStarted/index.html
too.
Regards -
Hi all,
I've been having issues with my iMac, particularly with the Office:Mac Suite. I took it to the Genius Bar and they confirmed there was some corruption and decided the best thing would be to transfer all my files to the external hard drive I had brought with me. After the transfer, they completely wiped all apps off the computer, then reloaded them. They then reloaded my data from the external hard drive back to the computer hard drive. I reloaded the Office mac 2008 Suite when I got home. Since then I have hooked up the external hard drive back to the computer (it's my time machine) and all is well, except, when I open any of the programs on the Office: Mac suite, I get the following message:
There is a problem with the Office database
Office might be unable to access the database or the database files might be damaged. Without the database, you might beunable to use the Address Book, Scrapbook. and other features that store your personal information
To rebuild the database, open Microsoft Office 2008/Office, and then open the Microsoft Databse Utility. For more information, open the Database Utility application, and on the Help menu, click Database Utility Help.
I did this and it gives me the option of rebuilding the DB but it gives no indication if there is danger of losing all my files. Does anybody else know what will happen? Is there another solution? Should I simply reload the Office: Mac suite again?
Help!
TamiCopy your DB to the internal hard drive and then run the rebuilder.
It might be the in the process of reinstalling Office the copy protection file was removed and thus you need to revalidate or something also.
https://discussions.apple.com/community/notebooks/macbook_pro?view=documents
Maybe you are looking for
-
No Nautilus Plugins with Client2.0.2 on SLED 11
I have a copy of SLED 11 fully patched and with ncpfs installed. I installed the Novell Client from the ISO, and everything works fine except there are no plugins in Nautilus. There are no Novell options in the right-click menus (Salvage, Novell Prop
-
How to delete Guest User Account
I just got my Mac book Pro and I'm new to Mac. I created a Guest User Account and now I want to delete it. But the - (minus) option is grey out. How can I delete the Guest User Account? I have two accounts listed right now. The Admin and the Guest Ac
-
Saving CSV file on Share Point folder
Hi, When trying to save a project map to a csv file on a Share Point folder we got this error: "Project does not support resource pooling on a web server". can anyone help me with this? thanks, Yuval
-
Unable to upload photos on icloud!
I've recently installed IOS5 on ipad, i got my icloud account working (address, calendar etc. all work fine), BUT no sign of PHOTO FOLDER on my icloud account...! of course I set on ON the flux of photo function on the ipad. but nothing appears on
-
How to display the default milestone of a system
how can I find out which milestone svcs tries to start during boot ? svcs -a displays a lot of services as enabled, but also several services as DISABLED. should I restart the disable services manually ? (no.) Do I need to checked all DISABLED servic