Entries Tagged ‘sql’:
filed in sql on Jun.30, 2010
The common T-SQL script to shrink/truncate log file is using the script below 1 2 3 USE [foo] GO DBCC SHRINKFILE(foo_log, 1) But, if the script run on SQL Server 2008 instance, resulting that the log file still have the same size. In other word you cannot shrink the log file. To solve the issue [...]
Tags: 2008, dbcc, full, microsoft, recovery mode, shrink, simple, sql, sql server, sql server 2008, truncate
filed in oltp, sql on Jun.22, 2010
although CURSOR and FETCH is classified as ‘evil‘ in SQL server, but sometimes we cannot avoid using it. Cause in some scenarios, pivot and other similiar method to perform looping and transformation is not sufficient enough. here’s a link of good example implementing cursor. all example copy from microsoft sites, http://msdn.microsoft.com/en-us/library/ms180152.aspx
Tags: cursor, fetch, sql, sql server
filed in erp, olap, sap on Mar.01, 2010
With UD Connect you can now integrate the data for the source object into SAP BW. You can either extract the data, load it into SAP BW and physically store it there, or, as long as the prerequisites for this are fulfilled, you can read the data directly in the source using a SAP RemoteCube. [...]
Tags: bw, external, sap, sql, sql server, sql server 2008, ud connect, unicode