MS SQL SERVER 65. - Dump Of Transaction Log

Aug 5, 1998

is there any way to monitor the space utilisation of log space and if it crosses 60% or above, dump the transaction log, effectively....

i tried some of the things, given below.

1. script to monitor the space used of log using dbcc sqlperf(logspace) and check if crosses 60 % and dump the transaction into disk file and execute this script through a schedule task running every minute.

2. same result thro using sql server performance monitor.

View 5 Replies


ADVERTISEMENT

Dump Transaction Log

Feb 22, 1999

Hi,

I need to dump transaction log every night. Before I do that I'd like to check those open transactions and kill the ones not part of sa or SQL server dba's activity. How can I achieve this?

Thanks in advance.

May

View 1 Replies View Related

Dump Transaction Log Difficult??

Jan 4, 2000

Hello:

I am working with an application in mssql 65.5, with sp4.

I have the database option 'truncatelog on checkpoint' set, there are no transaction log dumps taken at this time.

We plan now that y2k is over to upgrade to sp 5a. I am not not sure the new configuration
parameter 'logLRU buffers'(I don't have the sp5a readme text with me now) in our situation.

Here is our situtation with the transaction logs: The log, mostly with month-end high actvity,
fills up when long-running, high activity transactions are run.
The log gets to 100% sometimes rather quickly and sometimes near that or above 80%easily.
We check with dbcc open tran and there are no current transaction running. We expand the log just a little.

But it still shows 100@ used when we run dbcc sqlperf (logspace).

Here's the rub: when we try to dump the log, with wither or both back-to-back: dump tran abcdb
with truncate_only and then dump tran with no_log still nothing happens.

Sometimes we stop and start the mssql server and that helps but not always and sometimes when
we are really desperate we stop/start the NT server box(at off hours). Sometimes, the transaction log
reduces to nearly 0% used when we run dbcc sqlperf (logspace) and sometimes not. So we run dump tran
a couple of more times. We wait for several minutes usually to if the dump tan started and if it shows up
under EM under curent activity


This is becoming very frustrating and dangerous as well.

1) has any one had similar experiences with mssql 6.5 sp4?

2) Can anyone advise what we can do to more easily to dump the transaction log? Are we doing
any thing really wrong?

3) Would upgrading to sp 5a really help or should we just start planning upgrading to mssql 7.0?

Any suggestiosn you can furnish will be helpful. Thanks.

David Spaisman

View 1 Replies View Related

Dump Transaction Didn't

Jan 14, 1999

I have a transaction log that is 80% full and will not dump. I have used the "dump transaction dbname with no_log" command. It return the usual "This command did not return data, and it did not return any rows". However, this didn't do anything. The transaction log is still full. I don't want to restart the server if I don't have to. Any ideas?

View 5 Replies View Related

Using Performance Monitor To Dump Transaction Log

Jan 12, 1999

Hi, I am trying to set up an auto dump for Transaction log using performance monitor ( Log space used(%) )... Although I followed the steps, it did not work... can anyone tell me what am I doing wrong ?

1. create an error # using Server/message/New etc...
2. Defined sql exec alert : right click sql exective/manage alerts/operators..
3. Defined performance monitor using add to alert and set Alert if radio botton to over %80.and Run_Program on Alert: c:mssqlinnE 5555 /T /S servername

then I inset 2000 rows is a table I still get :

Msg 1105, Level 17, State 1
Can't allocate space for object 'publishers' in database 'test' because the 'default' segment is full. If you ran out of space in Syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase the size of the segment.

I thought what I did is the right thing to do, but it seems that I am doing something wrong, Please help.

Thanks

Ali

View 1 Replies View Related

Transaction Log Dump After Differential Backup

Jan 23, 2008

I am doing a differential backup every night with t-log backups every 15 mins. The differential backup occurs at 3:00a and is about 300 MB. The very next t-log backup at 3:15a is also about 300 MB instead of the usual 1 - 2 MB. Why is this and how can I avoid it? Is this just how SQL Server works? Do I have to do a full backup every night instead? Thanks in advance for your help.

- Michael

View 9 Replies View Related

Dump/Trucate Tempdb Transaction Log (28Gb)

Jul 1, 1999

I have a 28Gb temp db transaction log which I want to dump halfway through a process, I have tried;

dump tran tempdb with no_log

which seems to have little effect.

Thanks for your help.

Andy

View 1 Replies View Related

Automating Dump Transaction Log Using Performance Monitor

Feb 8, 1999

hi, Does anyone have done this before. if so, please enlight me with your experience

Ali

View 1 Replies View Related

LOG DEVICE FULL EVEN AFTER ISSUING DUMP TRANSACTION

Mar 3, 1999

I issued the following statement on my database as my log file showed 100% full.
However after running this command and also running it again after expanding the size
to almost double the value of both my database log and data devices it still shows the log as being 100% full.

DUMP TRANSACTION <database> WITH TRUNCATE_ONLY (and also used the NO_LOG option).

So can anyone tell me whats going wrong here? I should note that I am still able to enter data into the database without
any errors.

View 1 Replies View Related

Dump XML Data In Sql Server

Jan 28, 2008

hi i need help anybody know how to dump data in sql server from xml file..?
 
Thanks in advance.

View 6 Replies View Related

Is There A Way To Load A 6.5 Db Dump To A 7.0 Server? (eom)

Mar 7, 2000

View 3 Replies View Related

Dump Of SQL Db Is Restored To A Different SQL Server

Oct 19, 2001

Hello,
Is it possible to use a dump from a database to do a restore of a db on a different server?

I have a SQL 2000 server and having been given a file called test.dmp (I am not sure what SQL version this is). Can I use this to do a restore to a new db I have created on my server? If so what method do I use?

Thanks
reorg

View 1 Replies View Related

What Is The Dump File In SQL Server? How Do I Create It?

Mar 24, 2005

what is the dump file in SQL server? how do I create it?

View 1 Replies View Related

Loading SP 5a Dump Onto Server Running SP 4

Oct 5, 1999

I looked for an answer in the archives and could not find one.
Does anyone know if it is ok or works loading a database dump
from one SQL server running SP 5a (production server) onto another SQL server running SP 3 (backup server)? We were not planning to upgrade our production and backup servers simultaneously unless there would be a problem loading the
database dumps.

Thanks you in advance.

View 2 Replies View Related

Cross Server Database Dump

Oct 5, 2004

I am attempting to remember the string to dump/restore a database to a different physical server.

I have the database on Server 1 and want to back it up to server 2. Can anyone refresh my memory?

Thanks

View 2 Replies View Related

SQL Server 2005 - Stack Dump

Oct 24, 2007

We are using SQL Server 2005 SP2 (32 bit) Clustered, and our server crashed twice within the last week. Has anyone experienced problems with the scheduler crashing SQL Server?

Using 'dbghelp.dll' version '4.0.5'
**Dump thread - spid = 0, PSS = 0x00000000, EC = 0x00000000
***Stack Dump being sent to Z:MSSQL.1MSSQLLOGSQLDump0002.txt
* *******************************************************************************
*
* BEGIN STACK DUMP:
* 10/23/07 12:59:25 spid 0
*
* Deadlocked Schedulers
*
* *******************************************************************************
* -------------------------------------------------------------------------------
* Short Stack Dump
Stack Signature for the dump is 0x000001A5

View 1 Replies View Related

Sql Server 2005 Crush Dump

May 30, 2008

Hi ,

I have some years running my database on SQL Server 2000 SP3 and client program (Win32, ODBC), which write data in the database.
I do migration my database on SQL Server 2005 SP1. Run instance SQL Server 2005 and my client program on the same computer. Client program get ODBC Exception: "HY000-[Microsoft][SQL Native Client]Unspecified error occurred on SQL Server. Connection may have been terminated by the server."

and...
in SQL Server 2005 instance's logs exist dump:

"
05/30/2008 09:48:18,Server,Unknown,Error: 17310<c/> Severity: 20<c/> State: 1.
05/30/2008 09:48:18,spid55,Unknown,External dump process return code 0x20000001.<nl/>External dump process returned no errors.
05/30/2008 09:48:17,spid55,Unknown,Stack Signature for the dump is 0xDE8D0BFA
05/30/2008 09:48:17,spid55,Unknown,78132A47 Module(MSVCR80+00002A47)
05/30/2008 09:48:17,spid55,Unknown,781329BB Module(MSVCR80+000029BB)
05/30/2008 09:48:17,spid55,Unknown,01447720 Module(sqlservr+00447720)
05/30/2008 09:48:17,spid55,Unknown,0144789A Module(sqlservr+0044789A)
05/30/2008 09:48:17,spid55,Unknown,0144859B Module(sqlservr+0044859B)
05/30/2008 09:48:17,spid55,Unknown,01447562 Module(sqlservr+00447562)
05/30/2008 09:48:17,spid55,Unknown,01006DAB Module(sqlservr+00006DAB)
05/30/2008 09:48:17,spid55,Unknown,01006BBC Module(sqlservr+00006BBC)
05/30/2008 09:48:17,spid55,Unknown,01006A96 Module(sqlservr+00006A96)
05/30/2008 09:48:17,spid55,Unknown,0103DFD4 Module(sqlservr+0003DFD4)
05/30/2008 09:48:17,spid55,Unknown,01041DD5 Module(sqlservr+00041DD5)
05/30/2008 09:48:17,spid55,Unknown,01023D58 Module(sqlservr+00023D58)
05/30/2008 09:48:17,spid55,Unknown,01248364 Module(sqlservr+00248364)
05/30/2008 09:48:17,spid55,Unknown,012F1142 Module(sqlservr+002F1142)
05/30/2008 09:48:17,spid55,Unknown,01244DEE Module(sqlservr+00244DEE)
05/30/2008 09:48:17,spid55,Unknown,0120FB12 Module(sqlservr+0020FB12)
05/30/2008 09:48:17,spid55,Unknown,014A67C6 Module(sqlservr+004A67C6)
05/30/2008 09:48:17,spid55,Unknown,* Short Stack Dump
05/30/2008 09:48:17,spid55,Unknown,* -------------------------------------------------------------------------------
05/30/2008 09:48:17,spid55,Unknown,* *******************************************************************************
05/30/2008 09:48:17,spid55,Unknown,* SegSs: 00000023:
05/30/2008 09:48:17,spid55,Unknown,* Esp: 5D25F67C: 5D257BF1 046E7938 058CC7B0 046E7928 011AEB24 00000000
05/30/2008 09:48:17,spid55,Unknown,* EFlags: 00010246: 003D0068 003A0043 006F005C 00610072 006C0063 005C0065
05/30/2008 09:48:17,spid55,Unknown,* SegCs: 0000001B:
05/30/2008 09:48:17,spid55,Unknown,* Ebp: 5D25F700: 5D25F72C 0120FB12 0000000E 058CC7B0 046E7900 0000000E
05/30/2008 09:48:17,spid55,Unknown,* Eip: 014A67C6: 528B108B B84D8D0C FFC88B51 B84D8BD2 8BBC558B 7F8B207F
05/30/2008 09:48:17,spid55,Unknown,* Edx: 00000009:
05/30/2008 09:48:17,spid55,Unknown,* Ecx: 040DC4E8: 010AF5FC 040DDFF0 00000001 00300040 010AF8A4 04ECDF08
05/30/2008 09:48:17,spid55,Unknown,* Ebx: 05898668: 05898540 05898698 00000009 058986C8 00000004 05898828
05/30/2008 09:48:17,spid55,Unknown,* Eax: 00000000:
05/30/2008 09:48:17,spid55,Unknown,* Esi: 040DC49C: 0123ED20 0123F240 040DC4A4 00000001 00400028 010AF5B0
05/30/2008 09:48:17,spid55,Unknown,* Edi: 053D6D20: 053D6A90 053D6278 053D69F0 053D6D48 053D6F30 00000001
05/30/2008 09:48:17,spid55,Unknown,*
05/30/2008 09:48:17,spid55,Unknown,* dbghelp 624F0000 62602FFF 00113000
05/30/2008 09:48:17,spid55,Unknown,* xpstar90 623C0000 623E5FFF 00026000
05/30/2008 09:48:17,spid55,Unknown,* odbcint 623A0000 623B7FFF 00018000
05/30/2008 09:48:17,spid55,Unknown,* ATL80 7C630000 7C64AFFF 0001b000
05/30/2008 09:48:17,spid55,Unknown,* BatchParser90 62230000 6224EFFF 0001f000
05/30/2008 09:48:17,spid55,Unknown,* ODBC32 621F0000 6222CFFF 0003d000
05/30/2008 09:48:17,spid55,Unknown,* SQLSCM90 621D0000 621D8FFF 00009000
05/30/2008 09:48:17,spid55,Unknown,* xpstar90 62180000 621C7FFF 00048000
05/30/2008 09:48:17,spid55,Unknown,* msftepxy 5D500000 5D514FFF 00015000
05/30/2008 09:48:17,spid55,Unknown,* SQLNCLIR 00800000 00832FFF 00033000
05/30/2008 09:48:17,spid55,Unknown,* comdlg32 76380000 763C8FFF 00049000
05/30/2008 09:48:17,spid55,Unknown,* sqlncli 61A30000 61C51FFF 00222000
05/30/2008 09:48:17,spid55,Unknown,* CLBCATQ 76FC0000 7703EFFF 0007f000
05/30/2008 09:48:17,spid55,Unknown,* ntdsapi 76780000 76792FFF 00013000
05/30/2008 09:48:17,spid55,Unknown,* SAMLIB 5D360000 5D372FFF 00013000
05/30/2008 09:48:17,spid55,Unknown,* NTMARTA 77680000 776A0FFF 00021000
05/30/2008 09:48:17,spid55,Unknown,* wshtcpip 71A70000 71A77FFF 00008000
05/30/2008 09:48:17,spid55,Unknown,* hnetcfg 698B0000 69907FFF 00058000
05/30/2008 09:48:17,spid55,Unknown,* dssenh 68100000 68123FFF 00024000
05/30/2008 09:48:17,spid55,Unknown,* xpsp2res 5CEE0000 5D1ACFFF 002cd000
05/30/2008 09:48:17,spid55,Unknown,* IMAGEHLP 76C80000 76CA7FFF 00028000
05/30/2008 09:48:17,spid55,Unknown,* WINTRUST 76C20000 76C4DFFF 0002e000
05/30/2008 09:48:17,spid55,Unknown,* dbghelp 5CB00000 5CC12FFF 00113000
05/30/2008 09:48:17,spid55,Unknown,* msfte 5C890000 5CAE8FFF 00259000
05/30/2008 09:48:17,spid55,Unknown,* security 5C0F0000 5C0F3FFF 00004000
05/30/2008 09:48:17,spid55,Unknown,* rasadhlp 76FB0000 76FB5FFF 00006000
05/30/2008 09:48:17,spid55,Unknown,* WLDAP32 76F50000 76F7CFFF 0002d000
05/30/2008 09:48:17,spid55,Unknown,* winrnr 76FA0000 76FA7FFF 00008000
05/30/2008 09:48:17,spid55,Unknown,* DNSAPI 76F10000 76F36FFF 00027000
05/30/2008 09:48:17,spid55,Unknown,* RESUTILS 5BE20000 5BE31FFF 00012000
05/30/2008 09:48:17,spid55,Unknown,* OLEAUT32 77110000 7719BFFF 0008c000
05/30/2008 09:48:17,spid55,Unknown,* CLUSAPI 76D90000 76DA0FFF 00011000
05/30/2008 09:48:17,spid55,Unknown,* WSOCK32 344C0000 344C9FFF 0000a000
05/30/2008 09:48:17,spid55,Unknown,* VERSION 77BF0000 77BF7FFF 00008000
05/30/2008 09:48:17,spid55,Unknown,* MTXCLU 344A0000 344B2FFF 00013000
05/30/2008 09:48:17,spid55,Unknown,* MSVCP60 5BDB0000 5BE14FFF 00065000
05/30/2008 09:48:17,spid55,Unknown,* MSDTCPRX 67280000 672EBFFF 0006c000
05/30/2008 09:48:17,spid55,Unknown,* XOLEHLP 34490000 34495FFF 00006000
05/30/2008 09:48:17,spid55,Unknown,* COMRES 77040000 77106FFF 000c7000
05/30/2008 09:48:17,spid55,Unknown,* schannel 767D0000 767F6FFF 00027000
05/30/2008 09:48:17,spid55,Unknown,* cryptdll 76770000 7677BFFF 0000c000
05/30/2008 09:48:17,spid55,Unknown,* kerberos 343E0000 3442AFFF 0004b000
05/30/2008 09:48:17,spid55,Unknown,* iphlpapi 76D50000 76D68FFF 00019000
05/30/2008 09:48:17,spid55,Unknown,* msv1_0 77C60000 77C82FFF 00023000
05/30/2008 09:48:17,spid55,Unknown,* ole32 774D0000 7760BFFF 0013c000
05/30/2008 09:48:17,spid55,Unknown,* MSCOREE 34160000 341A5FFF 00046000
05/30/2008 09:48:17,spid55,Unknown,* AUTHZ 776B0000 776C0FFF 00011000
05/30/2008 09:48:17,spid55,Unknown,* rsaenh 33A80000 33AA7FFF 00028000
05/30/2008 09:48:17,spid55,Unknown,* SQLOS 344D0000 344D4FFF 00005000
05/30/2008 09:48:17,spid55,Unknown,* sqlevn70 4F610000 4F7A3FFF 00194000
05/30/2008 09:48:17,spid55,Unknown,* instapi 48060000 48069FFF 0000a000
05/30/2008 09:48:17,spid55,Unknown,* psapi 76BE0000 76BEAFFF 0000b000
05/30/2008 09:48:17,spid55,Unknown,* comctl32 5D5B0000 5D646FFF 00097000
05/30/2008 09:48:17,spid55,Unknown,* comctl32 773C0000 774C1FFF 00102000
05/30/2008 09:48:17,spid55,Unknown,* IMM32 76360000 7637CFFF 0001d000
05/30/2008 09:48:17,spid55,Unknown,* SHLWAPI 77F60000 77FD5FFF 00076000
05/30/2008 09:48:17,spid55,Unknown,* SHELL32 7C9C0000 7D1D7FFF 00818000
05/30/2008 09:48:17,spid55,Unknown,* NETAPI32 5BD50000 5BDA3FFF 00054000
05/30/2008 09:48:17,spid55,Unknown,* opends60 333E0000 333E6FFF 00007000
05/30/2008 09:48:17,spid55,Unknown,* USERENV 769A0000 76A53FFF 000b4000
05/30/2008 09:48:17,spid55,Unknown,* WS2HELP 71A80000 71A87FFF 00008000
05/30/2008 09:48:17,spid55,Unknown,* WS2_32 71A90000 71AA6FFF 00017000
05/30/2008 09:48:17,spid55,Unknown,* MSWSOCK 71A30000 71A6FFFF 00040000
05/30/2008 09:48:17,spid55,Unknown,* Secur32 77FE0000 77FF0FFF 00011000
05/30/2008 09:48:17,spid55,Unknown,* MSASN1 77B10000 77B21FFF 00012000
05/30/2008 09:48:17,spid55,Unknown,* CRYPT32 77A70000 77B04FFF 00095000
05/30/2008 09:48:17,spid55,Unknown,* GDI32 77F10000 77F55FFF 00046000
05/30/2008 09:48:17,spid55,Unknown,* USER32 77D30000 77DBFFFF 00090000
05/30/2008 09:48:17,spid55,Unknown,* RPCRT4 77E70000 77F00FFF 00091000
05/30/2008 09:48:17,spid55,Unknown,* ADVAPI32 77DC0000 77E6BFFF 000ac000
05/30/2008 09:48:17,spid55,Unknown,* MSVCP80 7C420000 7C4A6FFF 00087000
05/30/2008 09:48:17,spid55,Unknown,* msvcrt 77C00000 77C57FFF 00058000
05/30/2008 09:48:17,spid55,Unknown,* MSVCR80 78130000 781CAFFF 0009b000
05/30/2008 09:48:17,spid55,Unknown,* kernel32 7C800000 7C8F5FFF 000f6000
05/30/2008 09:48:17,spid55,Unknown,* ntdll 7C900000 7C9B0FFF 000b1000
05/30/2008 09:48:17,spid55,Unknown,* sqlservr 01000000 02BCEFFF 01bcf000
05/30/2008 09:48:17,spid55,Unknown,* MODULE BASE END SIZE
05/30/2008 09:48:17,spid55,Unknown,*
05/30/2008 09:48:17,spid55,Unknown,*
05/30/2008 09:48:17,spid55,Unknown,* íîâëåíèÿ ed ee e2 eb e5 ed e8 ff
05/30/2008 09:48:17,spid55,Unknown,* h Èíèöèà öèÿ îá 04 00 01 68 14 00 c8 ed e8 f6 e8 e0 f6 e8 ff 20 ee e1
05/30/2008 09:48:17,spid55,Unknown,* Windows_junk §„ 57 69 6e 64 6f 77 73 5f 6a 75 6e 6b 00 00 a7 84 03 09
05/30/2008 09:48:17,spid55,Unknown,* §„ h 04 04 00 00 00 00 00 00 a7 84 03 09 04 00 01 68 0c 00
05/30/2008 09:48:17,spid55,Unknown,* ¸ & & & 02 b8 00 00 00 26 01 01 00 00 00 26 01 01 00 00 00 26
05/30/2008 09:48:17,spid55,Unknown,* ' o ¬šL & 04 27 00 00 00 00 00 6f 04 04 ac 9a 4c 02 00 00 26 02
05/30/2008 09:48:17,spid55,Unknown,* à ïèñüþ à ãåíòà ] & e0 ef e8 f1 fc fe 20 e0 e3 e5 ed f2 e0 5d 00 00 26 04
05/30/2008 09:48:17,spid55,Unknown,* òâèÿ íà ä ó÷åòíîé ç f2 e2 e8 ff 20 ed e0 e4 20 f3 f7 e5 f2 ed ee e9 20 e7
05/30/2008 09:48:17,spid55,Unknown,* ll][RABIS_NP][Äåéñ 6c 6c 5d 5b 52 41 42 49 53 5f 4e 50 5d 5b c4 e5 e9 f1
05/30/2008 09:48:17,spid55,Unknown,* B [MainMB][IExtO.d 42 00 5b 4d 61 69 6e 4d 42 5d 5b 49 45 78 74 4f 2e 64
05/30/2008 09:48:17,spid55,Unknown,* n ; 2 §Ã¿ h 6e 00 3b 00 32 00 00 00 00 00 a7 ff 00 09 04 00 01 68
05/30/2008 09:48:17,spid55,Unknown,* d O p e r a t i o 64 00 4f 00 70 00 65 00 72 00 61 00 74 00 69 00 6f 00
05/30/2008 09:48:17,spid55,Unknown,* d b o . A d 01 00 00 00 12 00 64 00 62 00 6f 00 2e 00 41 00 64 00
05/30/2008 09:48:17,spid55,Unknown,* 16 00 00 00 12 00 00 00 02 00 00 00 00 00 00 00 00 00
05/30/2008 09:48:17,spid55,Unknown,* Input Buffer 242 bytes -
05/30/2008 09:48:17,spid55,Unknown,* Access Violation occurred reading address 00000000
05/30/2008 09:48:17,spid55,Unknown,* Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION
05/30/2008 09:48:17,spid55,Unknown,* Exception Address = 014A67C6 Module(sqlservr+004A67C6)
05/30/2008 09:48:17,spid55,Unknown,*
05/30/2008 09:48:17,spid55,Unknown,*
05/30/2008 09:48:17,spid55,Unknown,* 05/30/08 09:48:17 spid 55
05/30/2008 09:48:17,spid55,Unknown,* BEGIN STACK DUMP:
05/30/2008 09:48:17,spid55,Unknown,*
05/30/2008 09:48:17,spid55,Unknown,* *******************************************************************************
05/30/2008 09:48:17,spid55,Unknown,SqlDumpExceptionHandler: Process 55 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
05/30/2008 09:48:17,spid55,Unknown,***Stack Dump being sent to C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOGSQLDump0352.txt
"

Please, help me.


Best regards

View 1 Replies View Related

Help SQL Server 7 Dump Data To Hard Drive

Feb 20, 2004

Hi,

I am running sql server 7 with 200+GB database size. I have one table with following fields

IIINDEX
DOCTYPE
IMAGE BLOB

I need to dump all the information from this table to hard drive.

I have try with delphi ado and delphi odbc (limit 1mb), somehow when I run the program it gives me an error message E_ timeout.

How can I dump this information without using delphi.

Any help will be highly appreciated.

If you have any code that can help please email me samirp@ix.netcom.com

Thanks.

Samir

View 1 Replies View Related

SQL Server 2008 :: How To Set Up Triggers After SSIS Dump

May 11, 2015

I am would like for a Trigger to fire after an SSIS job finishes.

My understanding is that i would use a AFTER trigger.

How my UPDATE and INSERT INTO would fire and only affect the new rows.

SET ARITHABORT OFF
SET ANSI_WARNINGS OFF

UPDATE [GDev].[dbo].[tblCIDetailsTest]
SET dFRate = (dFCharge/(dSCharge+dACharge))

Also need to INSERT INTO 3 columns from a Table called tblFinanceP by looking up/Union or Join (not sure what to use) called vcTNum that is in bother the tblFinacneP and tblCIDetailsTest.

INSERT INTO [GDev].[dbo].[tblCIDetailsTest] AS Details
SELECT iPNum, iPCount, iZone
FROM [GrEDI].[dbo].[tblFinanceP] AS EDI
where EDI.vcTNum = GDev.dbo.tblCIDetailsTest.vcTN

View 1 Replies View Related

Inserting Mysql Dump File To SQL Server 2000

Apr 14, 2004

Hi,
I would preciated if some could help me with this problem.
My have used Mysql database and now i have to change my database to sql server.
I have made a dump file from mysql db and i would like to insert that dumb file to sql server.
Have any idea how it is possible?

cheers,
inkku

View 1 Replies View Related

How To Import An Oracle 8.1.7 Dump File Into SQL Server 2000 ?

Mar 2, 2005

Hi,
I do not know if it can be done:
how to import an Oracle dump file into SQL server ?

That dump file contains the content of a table, excported from Oracle.
Is there a way or another to import it to SQLServer 2000 ?

Thanks

View 2 Replies View Related

SQL Server Dump (non-yielding Recource Monitor) (AdjustTokenPrivileges () Failed)

May 19, 2008



Hi all,
On our production server once in a while i found the following dump:

---> SQLDump0005.log
Using 'dbghelp.dll' version '4.0.5'
2008-05-14 06:33:28.65 Server **Dump thread - spid = 0, PSS = 0x0000000000000000, EC = 0x0000000000000000
2008-05-14 06:33:28.67 Server ***Stack Dump being sent to E:Microsoft SQL ServerMSSQL.1MSSQLLOGSQLDump0005.txt
2008-05-14 06:33:28.67 Server * *******************************************************************************
2008-05-14 06:33:28.67 Server *
2008-05-14 06:33:28.67 Server * BEGIN STACK DUMP:
2008-05-14 06:33:28.67 Server * 05/14/08 06:33:28 spid 0
2008-05-14 06:33:28.67 Server *
2008-05-14 06:33:28.67 Server * Non-yielding Resource Monitor
2008-05-14 06:33:28.67 Server *
2008-05-14 06:33:28.67 Server * *******************************************************************************
2008-05-14 06:33:28.67 Server * -------------------------------------------------------------------------------
2008-05-14 06:33:28.67 Server * Short Stack Dump
2008-05-14 06:33:28.88 Server Stack Signature for the dump is 0x00000000000003F3

---> sqldumper_errorlog.log
05/14/08 06:33:30, ERROR , SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () failed (00000514)
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ProcessID = 4784
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ThreadId = 0
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Flags = 0x0
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDumpFlags = 0x0
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, SqlInfoPtr = 0x00000000031421E8
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, DumpDir = <NULL>
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExceptionRecordPtr = 0x0000000000000000
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ContextPtr = 0x0000000000000000
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ExtraFile = <NULL>
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, InstanceName = <NULL>
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, ServiceName = <NULL>
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Dump is associated with file E:Microsoft SQL ServerMSSQL.1MSSQLLOGSQLDump0005.txt
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
05/14/08 06:33:30, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
05/14/08 06:33:32, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
05/14/08 06:33:32, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: E:Microsoft SQL ServerMSSQL.1MSSQLLOGSQLDump0005.mdmp
05/14/08 06:33:32, ACTION, sqlservr.exe, Watson Invoke: No

Looks like there is some missing user privilege in group policy for sql server service account (not local admin) ??
Does any1 can shine some light.

Help is highly appreciated.
TIA
acki4711

View 5 Replies View Related

SQL Server Admin 2014 :: Restore Lost Transaction From Transaction Log File

Jun 10, 2015

I have Full database backup upto previous day and transaction logfile of Today transaction. my database has crashed. I have restored previous day's Full backup. I have faced difficulty to restore today's transaction from today's transaction log. What are the steps to restore full database back and one day's transaction log file. Note: there is no differential database backup and transaction backup.

View 8 Replies View Related

Error 8525: Distributed Transaction Completed. Either Enlist This Session In A New Transaction Or The NULL Transaction.

May 31, 2008

Hi All

I'm getting this when executing the code below. Going from W2K/SQL2k SP4 to XP/SQL2k SP4 over a dial-up link.

If I take away the begin tran and commit it works, but of course, if one statement fails I want a rollback. I'm executing this from a Delphi app, but I get the same from Qry Analyser.

I've tried both with and without the Set XACT . . ., and also tried with Set Implicit_Transactions off.

set XACT_ABORT ON
Begin distributed Tran
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.TRANSACTIONMAIN
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.TRANSACTIONMAIN
set REPFLAG = 0 where REPFLAG = 1 and DONE = 1
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.WBENTRY
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.WBENTRY
set REPFLAG = 0 where REPFLAG = 1
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.FIXED
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.FIXED
set REPFLAG = 0 where REPFLAG = 1
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.ALTCHARGE
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.ALTCHARGE
set REPFLAG = 0 where REPFLAG = 1
update OPENDATASOURCE('SQLOLEDB','Data Source=10.10.10.171;User ID=*****;Password=****').TRANSFERSTN.TSADMIN.TSAUDIT
set REPFLAG = 0 where REPFLAG = 1
update TSADMIN.TSAUDIT
set REPFLAG = 0 where REPFLAG = 1
COMMIT TRAN


It's got me stumped, so any ideas gratefully received.Thx

View 1 Replies View Related

SSIS, Distributed Transaction Completed. Either Enlist This Session In A New Transaction Or The NULL Transaction.

Feb 22, 2007

I have a design a SSIS Package for ETL Process. In my package i have to read the data from the tables and then insert into the another table of same structure.

for reading the data i have write the Dynamic TSQL based on some condition and based on that it is using 25 different function to populate the data into different 25 column. Tsql returning correct data and is working fine in Enterprise manager. But in my SSIS package it show me time out ERROR.

I have increase and decrease the time to catch the error but it is still there i have tried to set 0 for commandout Properties.

if i'm using the 0 for commandtime out then i'm getting the Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.

and

Failed to open a fastload rowset for "[dbo].[P@@#$%$%%%]". Check that the object exists in the database.

Please help me it's very urgent.

View 3 Replies View Related

Distributed Transaction Completed. Either Enlist This Session In A New Transaction Or The NULL Transaction.

Feb 6, 2007

I am getting this error  :Distributed transaction completed. Either enlist this session in a new
transaction or the NULL transaction. Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code. Exception Details:
System.Data.OleDb.OleDbException: Distributed transaction completed. Either
enlist this session in a new transaction or the NULL transaction.have anybody idea?!

View 1 Replies View Related

Distributed Transaction Completed. Either Enlist This Session In A New Transaction Or The NULL Transaction.

Dec 22, 2006

i have a sequence container in my my sequence container i have a script task for drop the existing tables. This seq. container connected to another seq. container. all these are in for each loop container when i run the package it's work fine for 1st looop but it gives me error for second execution.

Message is like this:

Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.

View 8 Replies View Related

Distributed Transaction Completed. Either Enlist This Session In A New Transaction Or The NULL Transaction. (HELP)

Jan 8, 2008

Hi,

i am getting this error "Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.".

my transations have been done using LINKED SERVER. when i manually call the store procedure from Server 1 it works but when i call it through Service broker it dosen't work and gives me this error.



Thanks in advance.


View 2 Replies View Related

Windows 2000 Sp4 &&amp; SQL Server 2000 Causes Java Core Dump

Sep 7, 2007

I've just started getting this EXCEPTION_ACCESS_VIOLATION (0xc0000005) on machines using Windows 2000 sp4 connecting to SQLServer. This is crashing JVMs (multiple Sun versions and BEA also) in the Java VM frame (outside our code). This has just started recently - perhaps with the last set of patches? Has anyone else seen this or know what I could do to get more information? Could this be related to updates to named pipes?

Thanks!

-Brian Temple

View 5 Replies View Related

Transaction Scope - The Operation Could Not Be Performed Because OLE DB Provider SQLNCLI For Linked Server XXX_LINKED_SERVER Was Unable To Begin A Distributed Transaction. OLE DB Provider SQLNCLI&a

May 15, 2008

Hello, I've a problem with a software developed in C# with the framework 2.0. This is the error I receive : The operation could not be performed because OLE DB provider "SQLNCLI" for linked server "XXX_LINKED_SERVER" was unable to begin a distributed transaction. OLE DB provider "SQLNCLI" for linked server "XXX_LINKED_SERVER" returned message "No transaction is active.". If I try directly to restart the process, it works fine. Is there someone who can help me ? This is the process 1. In C# --> Call of a Query : select from the linked server (db in sql 2005) and insert into a table SQL 2005 2. In the C# --> using (TransactionScope scope = new TransactionScope()) and insert in a table in SQL 2005 which is link server Thank in advance.

View 1 Replies View Related

How To Do A Sql Dump?

Feb 23, 2008

Hi, I have added a new SQL Server database to my project and I was wondering how to do generate a SQL dump of the database, tables, and queries? I couldn't find any utilities in Visual Studio 2008 Pro. I also couldn't figure out how to create indexes using VS. Thanks!

View 2 Replies View Related

70-431 Dump

May 29, 2008

Dear all

I am working with database programming and maintaining
from last 3 years and this days i want to sit for 70-431 exam.

if some one have the dump of 70-431 please send it to my mail

shohan_mcp@yahoo.com

thanks
shohan
mcp

shohan

View 2 Replies View Related

MSSQL Dump

Oct 26, 2005

I am trying to dump my mssql DB so I can upload it to my web server.

I am using SQLDump v3.0b1 from sourceforge.net.

My problem is, when generating the dump file, any value greater than 1000 in a money column is set to 1.0000 in the dump file.

Does anyone know of a better program I should be using or a way for me to correct this?

My DB is huge and it would take far too much time to go through the dump file and correct the changed values.

Any help would be appreciated,

Thanx

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved