Error in sql database creation
how to solve the problem "create database permission is denied in database "master"" in sql database creation
>>how to solve the problem "create database permission is denied in database "master"" in sql database creation
Getting the permissions required to create database is the solution:)
http://dba.stackexchange.com/questions/42299/create-database-permission-denied-in-database-master
from the link
You need to execute this T-SQL command using an account that does have administrative rights, such as sa:
USE master;
EXECUTE sp_addsrvrolemember @loginame = N'YourAppUserLogin', @rolename = N'dbcreator';
Replace YourAppUserLogin with
the login the application user uses to connect to the database.
Satheesh
My Blog | How to ask questions in technical forum
Similar Messages
-
I'm looking for a facility while designing tables with SQL. Like in DB2 can we add database members in SQL and can we override these tables before application is evoked?
Thanks in advance.Yes, you can add users to the database mapped to the logins. But what do you mean "override" tables? Sturcture? Data> Can you be more specific?
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 -
Hi
Just signed up to MS Azure account on the free trial, and I am trying to create a new database (I've tried this via Quick Create and Custom Create) but I just get a message:
Could not submit the request to create database 'MattTest'.
Any reason as to why this doesn't work? Thanks.Hello Matt,
Can you please share in which region are you trying to create the database. Also are you trying to create it in a V12 server?
Thanks,
Jan -
Error in manual database creation in 10g for windows.
hi,
i have planned to create database manually in window command prompt by the following steps but i m getting this error,
so guys provide me some idea to create db.
D:\oracle\product\10.1.0\Db_1>set oracle_sid=god;
D:\oracle\product\10.1.0\Db_1>oradim -new -sid%ORACLE_SID%-intpwd mysecretpasswo
rd -startmode M
D:\oracle\product\10.1.0\Db_1>dir database
Volume in drive D is COLLECTIONS
Volume Serial Number is 5A2D-5C24
Directory of D:\oracle\product\10.1.0\Db_1\database
03/07/2010 05:56 PM <DIR> .
03/07/2010 05:56 PM <DIR> ..
03/06/2010 11:04 PM <DIR> archive
03/07/2010 11:12 PM 106 core_orcl_1220_1284_2010_3_7_17_19_32.log
03/07/2010 05:17 PM 2,048 hc_orcl.dat
03/06/2010 11:56 PM 157 initgod.ora
03/07/2010 05:51 PM 955 INITorcl.ORA
03/06/2010 11:01 PM 31,744 oradba.exe
03/06/2010 11:59 PM 2,560 PWDgod;.ORA
03/06/2010 11:13 PM 1,536 PWDorcl.ora
03/07/2010 05:56 PM 2,560 SPFILEORCL.ORA
03/07/2010 12:15 AM 8,510 sqlnet.log
9 File(s) 50,176 bytes
3 Dir(s) 26,471,571,456 bytes free
D:\oracle\product\10.1.0\Db_1\database>initgod.ora
D:\oracle\product\10.1.0\Db_1\database>sqlplus/nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Mon Mar 8 23:00:01 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect sys/mysecretpassword as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
SQL>
thanksJr.DBA wrote:
hi,
i have planned to create database manually in window command prompt by the following steps but i m getting this error,
so guys provide me some idea to create db.
D:\oracle\product\10.1.0\Db_1>set oracle_sid=god;
D:\oracle\product\10.1.0\Db_1>oradim -new -sid%ORACLE_SID%-intpwd mysecretpasswo
rd -startmode M
D:\oracle\product\10.1.0\Db_1>dir database
Volume in drive D is COLLECTIONS
Volume Serial Number is 5A2D-5C24
Directory of D:\oracle\product\10.1.0\Db_1\database
03/07/2010 05:56 PM <DIR> .
03/07/2010 05:56 PM <DIR> ..
03/06/2010 11:04 PM <DIR> archive
03/07/2010 11:12 PM 106 core_orcl_1220_1284_2010_3_7_17_19_32.log
03/07/2010 05:17 PM 2,048 hc_orcl.dat
03/06/2010 11:56 PM 157 initgod.ora
03/07/2010 05:51 PM 955 INITorcl.ORA
03/06/2010 11:01 PM 31,744 oradba.exe
03/06/2010 11:59 PM 2,560 PWDgod;.ORA
03/06/2010 11:13 PM 1,536 PWDorcl.ora
03/07/2010 05:56 PM 2,560 SPFILEORCL.ORA
03/07/2010 12:15 AM 8,510 sqlnet.log
9 File(s) 50,176 bytes
3 Dir(s) 26,471,571,456 bytes free
D:\oracle\product\10.1.0\Db_1\database>initgod.ora
D:\oracle\product\10.1.0\Db_1\database>sqlplus/nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Mon Mar 8 23:00:01 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect sys/mysecretpassword as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
SQL>
thanksEven if you want to do it manually as a learning exercise, I'd advise you to use dbca. Select 'custom' database type, and at the end select 'create scripts' without actually creating a database. Then study those scripts. -
SQL Database creation failed in resource group Default-SQL-NorthEurope
Hi
I am getting the following error, when I try to create a database in Azure(https://portal.azure.com/)
OperationName: CreateDatabase
Status: Failed
EventTimestamp: Wed Dec 03 2014 16:44:53 GMT+0100
ResourceUri: /subscriptions/[SubscriptionId]/resourcegroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/img0xvixih/databases/[DatabaseName]
SubscriptionId: XX
EventSubmissionTimestamp: Wed Dec 03 2014 16:51:00 GMT+0100
OperationId: 3972a8b9-046e-4a3d-ae78-6bed77ad2362
SubStatus: N/A
CorrelationId: 3972a8b9-046e-4a3d-ae78-6bed77ad2362
Description: Failed to create database [DatabaseName], SqlErrorCode: 40827 by: [email protected]
Level: Informational
ResourceGroup: Default-SQL-NorthEurope
ResourceProvider: Microsoft.Sql
EventSource: Microsoft.Sql
Properties: ServerName:img0xvixih
DatabaseName:[DatabaseName]
ErrorCode:40827
ClientIP:157.**.***.250
Description:Failed to create database [DatabaseName], SqlErrorCode: 40827
Note :
I have a: pay as you go plan
Thanks in advance.Hi Girish
I am getting the same error:
OperationName: CreateDatabase
Status: Failed
EventTimestamp: 2014-12-03T15:44:53.655Z
ResourceUri: /subscriptions/[SubscriptionId]/resourcegroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/img0xvixih/databases/[DatabaseName]
SubscriptionId: XX
EventSubmissionTimestamp: 2014-12-03T15:51:00.486Z
OperationId: 3972a8b9-046e-4a3d-ae78-6bed77ad2362
SubStatus: N/A
CorrelationId: 3972a8b9-046e-4a3d-ae78-6bed77ad2362
Description: Failed to create database [DatabaseName], SqlErrorCode: 40827 by: [email protected]
Level: Informational
ResourceGroup: Default-SQL-NorthEurope
ResourceProvider: Microsoft.Sql
EventSource: Microsoft.Sql
Properties: ServerName:img0xvixih
DatabaseName:[DatabaseName]
ErrorCode:40827
ClientIP: 157.**.***.250
Description: Failed to create database [DatabaseName], SqlErrorCode: 40827
hmmm, maby next stop is amazon(aws)! -
Error during IdM database creation on Oracle
Hi,
We sometimes encounter the following error when creationg IDM database on Oracle (mxmc-install.sh) :
*** Updates installed
*** Creating language generation procedures
mxp_init_ids_onelang
mxp_init_ids_lang
Warning: Procedure created with compilation errors.
*** Creating procedures
mc_schemaversion
mc_version
mxpv_job_tasklink
And then we have errors on other procedures and initial load of the database :
mxp_init_ids
Warning: Procedure created with compilation errors.
mc_reset_ids
Warning: Procedure created with compilation errors.
mxp_init_all_ids
Warning: Procedure created with compilation errors.
mxp_Xcreate_ids
Warning: Procedure created with compilation errors.
mxp_create_ids
Warning: Procedure created with compilation errors.
BEGIN mxp_init_all_ids(:vStatus,:vStatusText); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00905: object IP3_OPER.MXP_INIT_ALL_IDS is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
BEGIN mxp_create_ids(:IsId,:Status,:StatusText); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00905: object IP3_OPER.MXP_CREATE_IDS is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
During first installation of IDM database there was no problem. So it seems it's a environnement parameter or Oracle parameter issue. Has anyone encountered the same problem ?
We were told there were no changes either on Oracle or on the system. But there must have been a change somehow impacting the language.
Do you have any idea on the Oracle parameters that could be involved ?
Thanks in advance,
Regards,
Herve.Hi,
I was facing the same problem and it was not possible to create an identity store.
The solution for me was increasing the oracle sga_max_size and shared_pool_size parameters.
They had the initial value fom installation of AS Java and setting shared_pool_size to 400MB fixed the procedure compilation problem.
After that I rerun the mxmc-update.cmd script and no more errors show up.
Creating idenitiy stores also works now.
Regards...Philipp -
we formatted Database server and restored all the databases from the backup. but the sharepoint site is giving below error when i access the home page.
we have 3 application servers in that two are working fine, but only one server getting the below error.
SQL database login for 'SharePoint_Config_2010' on instance 'db server' failed. Additional error information from SQL Server is included below.
Login failed for user 'domain\user'.
could you help what is the issue?Hi,
According to your post, my understanding is that you failed to access sharepoint site with one application server.
It was due to the MOM/SCOM Agent that has a SharePoint management pack installed, the agents Windows Service runs as ‘Local System’ and thus causes this.
The workaround is to either kill the SCOM agent service, or set it to run as a dedicated service account.
In addtion, I recommend to add the logon account of the SharePoint Timer service as a user of the SharePoint_Config database. Give role membership to the account db_owner.
You also need to add the SharePoint accounts back into sql server.
There are some similar articles for you to take a look at:
http://blog.blksthl.com/2012/04/26/login-for-sharepoint_config-login-failed-for-user-domaincomputername-scom-agent/
http://msdn.microsoft.com/en-us/library/jj551781(v=nav.70).aspx
http://sharepoint.stackexchange.com/questions/51623/moved-sql-databases-for-sharepoint-2010-and-now-have-a-3351-error
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Oracle 12c database creation perl error
Hello,
When I try to create a
database in 12c I get at the end an perl error and the database creation stops.
Can someone tell me what the problem can be?
Thanks
WillemWillemT wrote:
Hello,
When I try to create a
database in 12c I get at the end an perl error and the database creation stops.
Can someone tell me what the problem can be?
Thanks
Willem
ERROR? What Error?
I don't see any error.
my car won't go.
Can someone tell me what the problem can be?
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002 -
New Trial Account - Now unable to create even a BASIC SQL Database...
Hey,
I signed up for a 30-day trial account on Azure, and in the first 24 hours managed to successfully set up a Windows VM, and a SQL Database.
Over several hours, I then used the Azure SQL Database Migration tools to import a large test database from an on-premises SQL Server.
All went fine, until suddenly, during the data migration, all connections to the Azure SQL Database were lost, both from my local machine, and from the Azure VM.
I was unable to re-establish a connection to the Azure SQL Database.
In desperation, I deleted the Azure SQL database, and attempted to create another.
But every attempt failed.
I have tried from both the old and new Azure portals, and get the message after a few seconds "Error creating SQL Database".
I have attempted creating databases both at "Basic" and "Standard" levels, but get the same result.
There is still 99%+ left of the credit balance that came with the trial account, so I am at a loss as to what has happened, or what to do next.
Can anyone help?
ThanksHi,
Thank you for reporting this issue. I need a way to identify your account or subscription to look into what's going on. Please email me your server name or subscription id to olignat at microsoft dot com.
Thanks,
Oleg -
Hi Friends,
OS = Windows XP 3
Database = Oracle 11g R2 32 bit
Processor= intel p4 2.86 Ghz
Ram = 2 gb
Virtual memory = 4gb
I was able to install the oracle 11g successfully, but during installation at the time of database creation I got the following error many times and I ignored it many times... but at 55% finally My installation was hanged nothing was happening after it.....
ORA-28056: Writing audit records to Windows Event Log failed Error and at 55% my Installation got hung,,,, I end the installation and tried to create the database afterward by DBCA but same thing happened....
Please some one help me out, as i need to install on the same machine .....
Thanks and RegardsAAP wrote:
Thanks Now I am able to Create a database , but with one error,
When I created a database using DBCA, at the last stage I got this error,
Database Configuration Assistant : Warning
Enterprise Manager Configuration Failed due to the Following error Listener is not up or database service is not registered with it. Start the listener & Registered database service & run EM Configuration Assistant again....
But when I checked the listener was up.....
Now what was the problem, I am able to connect and work through sqlplus,
But I didnt got the link of EM and when try to create a new connection in sql developer it is giving error ( Status : failure - Test Failed the Network Adapter could not establish the connection )
Thanks & Regards
Creation of the dbcontrol requires a connection via the listener. When configuring the dbcontrol as part of database creation, it appears that the dbcontrol creation step runs before the dynamic registration of the databsase with the listener is complete. Now that the database itself is completed and enough time (really, just a minute or two) has passed to allow the instance to register, use dbca or emca to create the dbcontrol.
Are you able to get a sqlplus connection via the listener (sqlplus scott/tiger@orcl)? That needs to be the first order of business. -
Team,
I got an error while creating a User for Domain Account. Below is the screen shot of the error (error : 15401)
Database instance is on SQL 2000 SP3. ( I know it is out of support, But the customer is relutanct to upgrade)
On Google search, i found below article which is best matching for this error
http://support.microsoft.com/kb/324321
I have follows each step of troubleshooting. But still the issue persists.
Step 1. The login does not exist == The login is very much exist in the domain as i am able to add the same domain id to other database instances
Step 2. Duplicate security identifiers == i have used this query to find duplicate SID
/* SELECT name FROM syslogins WHERE sid = SUSER_SID ('YourDomain\YourLogin') */
But there was only one row returned with create date of today's.
Error while Assigning database level role (db_datareader) to SQL login (Domain Account)
Step 3. Authentication failure == Domain is available. User is able to login on other servers via RDP connection.
Step 4. Case sensitivity == Database collation is set to Case insensitivity. (CI)
Other two 5. Local Accounts & 6. Name resolution == is not applicable to me.
I tried other ways also.
A. Creating login and providing permission in one go only = User account is not created
B. Instead of GUI, use query to create login and provide required permission = Same error.
Does anybody has faced any such situation
ChetanSee the below output
srvid
sid
xstatus
xdate1
xdate2
name
password
dbid
language
isrpcinmap
ishqoutmap
selfoutmap
NULL
0x010500000000000515000000A1F66E1BFC1DC75D26E72530A2B80400
14
20:25.9
57:33.4
UKBAA\LHRAPPMuttavarapuS
NULL
1
us_english
0
0
0
Chetan -
Error upon inserting data in sql Database using stream analytics job: Datatye error conversion
I have a data passed into the Event Hubs, queried by stream analytic job inserting it into sql database. Upon running the job, it becomes idle a few seconds after since it has an error:
Message: Conversion from 0 to System.Boolean failed. 0 was of type - System.Int64.
Conversion from 0 to System.Boolean failed. 0 was of type - System.Int64. Exception message at level [1], exception number [0], parent exception number [0]: Conversion from 0 to System.Boolean failed. 0 was of type - System.Int64.
The data type in one of my field(IsHistorical) is Boolean with a value of false. The data type of the column in the sql table where this is to be inserted is of type bit. In this case, it seems that stream analytics could not convert the value "false"
into a bit data type when inserting in sql table.
I'm wondering if you already have encountered this problem. Could you help me resolve this problem?
Thank you.Azure Stream Analytics does not have Boolean type. On input we will convert JSON Boolean value to bigint.
Here is the list of supported types and conversions:
https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx
You can fix this erro by changing column type from bit to int in SQL table schema. -
I have SP Server 2010, and when I try to DELETE a rule within an existing Audience, "Property (Account Name) = domain/username", I get this error, "An error has occurred while accessing SQL database or system resources. If this
is the first time you have seen this message, please try again later. If this
problem persists, please contact your administrator." When I try to "MODIFY" the rule I get this error, "One or more values typed on this page are not valid. Check the text for the indicated fields."
The last time I checked it was working, I'm not aware of any new updates installed recently? I did a full Profile Synchronization as well, but still not working, please advise? -- EvenstarlineHi Sara,
First of all thank you very much for your prompt responses. Here are my comments to each of your suggestions below, and just to let you know I am using a Farm Admin account. I
was able to do this way after we upgraded from SP 2007 to SP 2010 as well. I would like to mention I'm not a SP expert, just been given the responsibility due to another person handling it just left, so apologize with some of
my novice questions below?
1. When I change the Operators to "Contains" or "Not Contains" get generates this error below.
Error generating in red towards top of the audience page..."One or more values typed on this page are not valid. Check the text for the indicated fields."
Error occurred where you enter your "Value"..."Could not resolve the user identity. Please re-enter the account name."
2. We have a 3-server-tier topology (SPWeb, SPDB, and SPFarm). Does the updates only apply to where the Central Admin is installed, which is the "SPFarm"? I checked all
3 servers, and NONE of the updates (KB2899494, KB2889845, and KB2883055) you'd mentioned are installed.
3. I'm new to IISRET, I need to be extra cautious of what I run in production, is this safe to run with no problem? What does it do? And How do I run it?
4. I'm also new to viewing the ULS log. I'd just downloaded a viewer for it. I'm assuming the only logs I need to be concern with viewing are within the SPAdmin (where Central
Admin is installed)? There's so many of them, what should I be looking for exactly?
Evenstarline -
SQL error in the database when accessing a table.
Hi,
I got below error at production server. Please suggest how to reslove this error.
<br>
<br>
<br>
Runtime Errors DBIF_RSQL_SQL_ERROR
<br>
Exception CX_SY_OPEN_SQL_DB
<br>
Date and Time 02.01.2011 15:55:06
<br>
<br>
<br>
<br>
<br>
Short text
<br>
SQL error in the database when accessing a table.
<br>
<br>
<br>
How to correct the error
<br>
Database error text........: "[10054] TCP Provider: An existing connection was
<br>
forcibly closed by the remote host.
<br>
[10054] Communication link failure"
<br>
Internal call code.........: "[RSQL/INSR/SWFCNTBUF ]"
<br>
Please check the entries in the system log (Transaction SM21).
<br>
<br>
If the error occures in a non-modified SAP program, you may be able to
<br>
find an interim solution in an SAP Note.
<br>
If you have access to SAP Notes, carry out a search with the following
<br>
keywords:
<br>
<br>
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
<br>
"CL_SWF_CNT_FACTORY_SHMEM======CP" or "CL_SWF_CNT_FACTORY_SHMEM======CM001"
<br>
| "ADD_INSTANCE"
<br>
<br>
<br>
Information on where terminated
<br>
Termination occurred in the ABAP program "CL_SWF_CNT_FACTORY_SHMEM======CP" -
<br>
in "ADD_INSTANCE".
<br>
The main program was "SAPMSSY1 ".
<br>
<br>
In the source code you have the termination point in line 16
<br>
of the (Include) program "CL_SWF_CNT_FACTORY_SHMEM======CM001".
<br>
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
<br>
procedure "ADD_INSTANCE" "(METHOD)", but it was neither handled locally nor
<br>
declared
<br>
in the RAISING clause of its signature.
<br>
<br>
The procedure is in program "CL_SWF_CNT_FACTORY_SHMEM======CP "; its source
<br>
code begins in line
<br>
1 of the (Include program "CL_SWF_CNT_FACTORY_SHMEM======CM001 ".
<br>
<br>
<br>
<br>
Source Code Extract
<br>
<br>
Line
SourceCde
<br>
<br>
1
METHOD add_instance .
<br>
2
<br>
3
data: ls_id type swfcntbuf.
<br>
4
<br>
5
check buffer method - store in local buffer if necessary
<br>
6
retcode = cl_swf_cnt_factory=>add_instance( ibf_por = ibf_por instance = instance ).
<br>
7
<br>
8
CHECK m_buffer_method EQ mc_buffer_shared.
<br>
9
<br>
10
append key to list of tasks to add stored in database table SWFCNTBUF
<br>
11
will be evaluated by build process for shared memory area (UPDATE_BUFFER method)
<br>
12
<br>
13
ls_id-mandt = sy-mandt.
<br>
14
ls_id-id = ibf_por.
<br>
15
<br>
>>>>>
INSERT swfcntbuf CONNECTION r/3*wfcontainer
<br>
17
FROM ls_id.
<br>
18
<br>
19
IF sy-subrc EQ 0.
<br>
20
Commit seems to be necessary always, even if INSERT has failed, to get rid of
<br>
21
database locks
<br>
22
COMMIT CONNECTION r/3*wfcontainer.
<br>
23
ENDIF.
<br>
24
<br>
25
ENDMETHOD.
<br>duplicate here SQL error in the database when accessing a table.
Do not post the same question in more than on forum. -
dear all,
i have done a system copy from production server into quality server. quality was scrapped and freshly installed with SAP then used the DB flush method to carry out the system copy. i had to change the DBS_ORA_SCHEMA in environment variables to SAP<SOURCE SID> from SAPSR3. the sap version is ECC6.0,DB is ORACLE10.2 on WIN NT.
after MMC opened, i get "SQL error in the database when accessing a table" error is coming. in SM21, I am getting "Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000 )
Database error 8103 at SEL access to table TBTCO
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
Database error 8103 at FET access to table TBTCP
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130339 sibqty_Q TY_00 " generated
Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
> Short dump "081018 130339 sibqty_Q TY_00 " generated
Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
Delete session 001 after error 023
Database error 8103 at DEL access to table TMSALOGAR
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130432 sibqty_Q TY_00 " generated
Database error 8103 at FET access to table SNAP
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130432 sibqty_Q TY_00 " generated
Transaction Canceled SY 002 ( SQL error in the database when accessing a table. )
Database error 8103 at FET access to table TSP02"
please find the st22 DUMP:
ow to correct the error |
Database error text........: "ORA-08103: object no longer exists"
Internal call code.........: "[RSQL/READ/TBTCO ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"SAPMSSY2" or "SAPMSSY2"
"INITIATE_JOB_START"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"INITIATE_JOB_START" "(FORM)", or its possible occurrence must be declared in
the
RAISING clause of the procedure.
|
please do me this favor if you know to avoid this problem..
thanks a lot..Hello Anuj,
This is because the COUNT(*) is returning a value which is longer than the INT4 data type it is expecting. If you restrict the selection by introducing a WHERE clause, then you won't get the dump:
DATA: dyn_from TYPE string,
dyn_where TYPE string,
gx_sql_err TYPE REF TO cx_sy_open_sql_error,
gv_text TYPE string.
dyn_from = `DD01L INNER JOIN DD02L ON DD02L~AS4LOCAL = DD01L~AS4LOCAL AND DD02L~AS4VERS = DD01L~AS4VERS`.
dyn_where = `DOMNAME LIKE 'Z%'`.
TRY .
SELECT COUNT(*) FROM (dyn_from) WHERE (dyn_where).
WRITE: / sy-dbcnt NO-GROUPING.
CATCH: cx_sy_open_sql_db INTO gx_sql_err,
cx_sy_dynamic_osql_semantics INTO gx_sql_err,
cx_sy_dynamic_osql_syntax INTO gx_sql_err.
ENDTRY.
IF gx_sql_err IS BOUND.
gv_text = gx_sql_err->get_text( ).
WRITE: / gv_text.
ENDIF.
BR,
Suhas
Maybe you are looking for
-
How do I delete part of a message conversation?
I have to reboot my iPhone 5 to get the trash can to appear when I am trying to delete a part of a message conversation. Is there another way to delete part of a conversation? Using IOS 8.2. Thanks!
-
Movie link doesn't respond to remote. Create a static movie link?
When I attempt to view a DVD created in IDVD on my TV, I am unable to click on the movie link and have it open. Instead, I have to press STOP and then PLAY on my remote. How can this be corrected? Also, how do you insert a movie into the menu as a li
-
PlUG IN MICROPHONE AIO ubuntu OS not working
The microphone of my HP 18 AIO wiht ubuntu 12.04 OS does not work.Even if I use a plug in microphone it does not work. Help!
-
Photoshop/Lightroom CC - Lightroom problem
Just purchased and downloaded Photoshop and LR 5 from the Cloud. Both loaded and worked fine. LR 5 sucessfully copied all my folders from LR 4. I have no idea what I did but now all the folders are missing (yes Folders is open - triangle pointing d
-
Alright Guys, Looking for some advice. We are currently on BW 3.1 and our organisation are about to go live with MSS, via the portal etc. We have a number of BW queries that will be published, but there are some workbooks we would like to publish too