How can I create my own error log in sql
I would like to create an error log table in sql where every time there is an error in sql and every time a stored procedure rolls back it should submit an entry into the error table to show where and what the error was.
Thank you
Debra has a question
I think SQL Server does a fairly good job of creating, writing to, and reading from it's own built-in error log. please see this link for details.
http://sqlandme.com/2012/01/25/sql-server-reading-errorlog-with-xp_readerrorlog/
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.
Similar Messages
-
I have the retail iCloud account. How can I delete it? And how can I create my own account?
Welcome to Apple Support Communities
To delete the iCloud account, open Settings > iCloud, scroll to the bottom and select Delete account. Then, log in with the Apple ID you want to use with iCloud -
How can i create my own component
hello all,
how can i create my own componet,
say for example i want to create my own JTextField.
give me links, or give me a examples
thanks
dayahttp://www.onjava.com/pub/a/onjava/2004/08/11/desktop.html
-
How can i create my own t-code
hi ,
how can i create my own t-code with a specified applications? may i know the t-code for create a t-code
Edited by: amarnath popuri on Nov 24, 2008 10:53 AMHi amarnath popuri
Use t-code SE93 to create a t-code.
Check below link.
http://help.sap.com/erp2005_ehp_02/helpdata/EN/43/2c43b427bf601fe10000000a422035/frameset.htm
Regards
Ashok -
How can I create my own toolbar like SmartBar??
I would like to know how can I create my own toolbar that works like the default smart bar.
I need to work with a smart bar, but i have to create it, and it has to work like the default one.
the smart bar should be able to navigate along my different forms/canvases.
Can someone help me??
With regards
Tiago ValadorTiagor,
you can't change the smart bar. All you can do is to create a hrizontal toolbar canvas.
Frank -
How can i create my own file from the Adobe Export PDF to Word ?
How can I create my own file from the file of the Adobe Export PDF to Wodrd?
If there is handwritten content in your PDF then ExportPDF can't convert that to word.
~Deepak -
How can I create my own border styles?
Working on a Mac in Numbers 3.2.2 how can I create 1 point line as a border? I find the default selection harsh, distracting.
Appreciated.Hi Wanapitei,
Click on the "bullseye" (top left of the table) to select the whole table.
Format Panel > Cell > Border > All Borders
Save as Template.
Regards,
Ian. -
How can i create my own apps on iPhone ?
Dear all
Plz how can i create my on apps and publish it on app store ? (From my iphone ) not from mac devise
RegardsYou don't.
All app development requires a Mac. -
How can I create my own shortcut to an app
How do I create my own shortcut to an app on my Mac Pro
Here are some more keyboard short cuts you may find useful including a different way of creating an Alias.
Use whichever you find the easiest.
http://support.apple.com/kb/PH10563 -
How can I create my own tag name while creating a partition table.
I have X4500 running Solaris 10. I have formatted a disk and created partition table as given below.
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted]
/dev/dsk/c0t0d0s0 is part of active ZFS pool zpool1. Please see zpool(1M).
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> partition
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> print
Current partition table (original):
Total disk sectors available: 1953508749 + 16384 (reserved sectors)
Part Tag Flag First Sector Size Last Sector
0 usr wm 34 4.00GB 8388641
1 usr wm 8388642 2.00GB 12582945
2 usr wm 12582946 200.00GB 432013345
3 usr wm 432013346 175.00GB 799014945
4 usr wm 1166180386 375.43GB 1953508748
5 usr wm 799014946 175.00GB 1166016545
6 usr wm 1166016546 80.00MB 1166180385
8 reserved wm 1953508749 8.00MB 1953525132
partition>
I am unable to specify my own tag name. How can I change the tag name to one of my interest.
I need to create 3 partitions as told below
partitions:
/earth
/mars
/work
/earth and /work should be roughly equal in size, /mars should be twice the size of the others, if that is possible. If not 3 partitions of equal size will do.
Please, help me .
Thank you.Exactly 1TB? Slightly under/slightly over?
Traditional Solaris disk labels are in VTOC format, but this format cannot describe disks larger than 1TB. So EFI labels must be used on disks larger than 1TB. Setup is slightly different.
Are these physical disks or LUNs from a SAN array? If they are array LUNS, it is often the case that they don't have a Sun label of any type. So...
#1 Apply a Solaris label
If the LUNS don't have a label (when selected in 'format', it gives a warning that no label is present and offers to apply a label immediately). When run non-interactively, format assumes "yes" for any questions. So all you'd have to do is select every disk to have it apply labels to any unlabled disk. Run 'format' once and find the highest number (maybe it's 50 for you). Create a text file that looks like this:
disk 1
disk 2
disk 3
disk 50Then feed that to format like this:
# format -f /tmp/disklist or whatever you've named the file.
#2 Apply the partition layout to all disks you want.
You asked if you should do the same procedure, but I don't see that you've actually done anything above other than print out the existing layout. Take one of your 48 drives and partition it the way you want manually (set the slices to the sizes that you want). Then you can copy the layout of that disk to others. You only want to do this between disks/LUNs of the same size. As an example, if you've explicitly partitioned c1t0d0 and you want to apply this to c1t1d0, do this:
# prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2Repeat for all of your other disks.
Darren -
How can i creat a trigger error invalid trigger specification
i have a stored procedure which i want it to be triggered when an insertion is done on table A
and that stored procedure accepts values from the insertion performed in table A
and inserts into Table B by either updating the table or insertion into Table B
how can i achieve this
OK fine i have a table called Table A
i want a trigger that can accept values such as
create or replace trigger UpdateMyDoc after insert on Table A
for each row
accoutntno varchar2,
ID varchar2
As
cnt number;
Begin
update Table B value (accoutntno ,ID ); commit;
end ;
is the above possible if it is then i get this [1]: (Error): ORA-04079: invalid trigger specification
any help
Edited by: kama021 on Aug 13, 2009 2:24 AMStop right there, Kama.
update Table B value (accoutntno ,ID ); commit;Do not go any further on triggers, until you at least know how to write an UPDATE
Or is it INSERT
Once you have that in place, carry on by reading a bit about Transactions
Regards
Peter -
UWL Help - How can i create my own task within the Enterprise Portal
Dear all,
I am currently working with UWL .
I have tried the customization and those stuffs associated with UWL , and it is working properly.
My current issue is , how can create my own task within the Portal ( not using Ad Hoc Workflow , which is present in Portal) ?.
If i can create my own task within portal by API or using another method , then How can i add that task link within the drop down box that is present in the Collaboration launch pad and Mytask Workset.?
Is there any API regarding UWL (which is useful for creation of custom tasks in Portal using Developer Studio by means of Portal Application Creation) ?
How can i add that custom task in the drop down ?.
I have tried the customization of existing UWL.
I shall be grateful to those who can help me to solve this issue with links regarding the solution of my problem's.
with regards
Kishor GopinathanHi Kishore,
I am trying to do the same thing. When i am creating Collaboration Task, it has standard templates in the dropdown like "Single Step" and "Multi-Step" etc., If i want to create my own Custom Task Template and display in that dropdown, how can i do that? Your help is really appreciated.
Thanks
Vijay -
How can I create my own document type
Hello
I want to know if we can create our own document types. With
coloring methods...
Beacause I want to have a coloring methode for my templates,
whose I edit them a lot of with dreamweaver. And it will be simply
if they can have theirs colors.
Sorry for my bad english, but I'm French... ;)
Thank for all1. in factory sales we are using T.code J1IIN. that time it fetch which type of Billing docu;ment. and how we can see that document. where it isconfigured
You cannot view the Billing type while creating the excise invoice.In SPRO,Tax on Goods Movement-->India >Business Transactions> Outgoing Excise Invoices -->Assign Billing Type to Delivery Types here you maintain the Delievry and Billing types with which you cancreate Excise Invoices.
2.Is there any copy control system between commercial Invoice to Excise invoice?
There is no copy control and the above step controls the relation between the billing and excise invoice.
3.How I can create my own Excise Invoice Document type.
You cannot create your own Excise Invoice Document type but you can create a Sub Transaction type and assign it while creating Excise Invoice to differentiate and pass the values to a different GL. -
How can I create my own keyboard shortcut
Hi, Can somebody please tell me how to create my own keyboard shortcut
Go to System Preferences > Keyboard > Keyboard Shortcuts.
Click the item Application Shortcuts in the left pane.
Then click the + button underneath the right pane. Follow the prompts. You can choose to have the shortcut applicable to all applications, or just to a single one.
Note - you can create a shortcut only for an item which is already an existing menu item.
If you want to change an existing shortcut, by selecting the appropriate software in the left pane you can change the keyboard command in the right pane - just click the keyboard shortcut at the right end of the listed shortcut. -
How can i create my own search form/A user defined search form
Hello All,
I have a simple table name employee with two fields, they are Emp_id and Name having 10 recrods.
I have a form with a text box and a button labled Search.
I want to search the employee in my employee table. I write the Emp_id in the text box field if the entry (Emp_id) does not exist in the employee table having 10 records then i want a message appear "There is no such employee Code "0001" try again.
On the other hand if i found some employee in my employee table then it will open the employee form and go to the specified record and show me that record.
How can i accomplish this task in Oracle Form 6i?
If anybody help me in this regard i am thankfull to you..
Please write all necessary code as well.
Thanks in advance.try this one here is :vemp is textitem ,i hope you know how to create button and buttonn's trigger to embed this code
DECLARE
cnt NUMBER := 0;
RECORD_NUMBER NUMBER;
VCNT VARCHAR2(20);
BEGIN
GO_ITEM('EMP.empno');
FIRST_RECORD;
BEGIN
RECORD_NUMBER:=:SYSTEM.CURSOR_RECORD;
LOOP
IF :EMP.empno = :vemp THEN
cnt := cnt + 1;
RECORD_NUMBER:=:SYSTEM.CURSOR_RECORD;
END IF;
EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR cnt > 0;
NEXT_RECORD;
END LOOP INNER;
IF cnt=0 THEN
message('No record found..');
END IF;
GO_RECORD(RECORD_NUMBER);
END;
NEXT_ITEM;
END;Khurram
Maybe you are looking for
-
When I try to open Photoshop CC, and after it goes through the initializing process it flashes up 'Photoshop has stopped working' and shuts itself down, this is also happening to my CS3 which I have had for years, both worked OK up till last monday.
-
How to display Long text in alv output
Hi, I have developed an ALV report.It is displaying the output. There is another requirment for alv output text field as below From the long text fields show only the first 20 characters and afterwards the long text icon. If the icon is clicked open
-
How to get current row data in table control
Hi , expert , I am professional in oracle , but now I am a new guy in SAP ABAP . I have a question in UI How to get current row data and click pushbutton in table control to open next screen ? I want to get the current data and open next scre
-
Feeling a bit frustrated with iCloud as it has either not backed up my contacts, mail, notes, & calendar on my phone or only partially. How helpful is that?? It has already resulted in "losing" data for me in my calendar & contacts since I've owned i
-
Socks services errors in web proxy server
Using SunOne web proxy server 3.6+sp1, the socks service frequently out of service. Sometime its process is still alive , but can't response the client request; sometime the process is gone! The following is the errors log: [25/Oct/2002:11:18:06] 826