Viewing 15 posts - 121 through 135 (of 440 total)
Hi Lowell and Flo
Now we have two solutions to the same problem. One with MS Undocumented feature another one is using cursor. Which one should be used !!! from a...
April 8, 2009 at 8:37 am
Carol Adams (4/7/2009)
April 8, 2009 at 8:34 am
Instead analyzing the XML files and creating the scheme, If you convert teh XML file CSV file and load it in SQL Server and then analysize the data.
To Convert XML...
April 8, 2009 at 8:24 am
Hi
Try using OUTPUT keyword to find out whther its updating any records or not.
CREATE TABLE EMPLOYEE_WORKING_HRS(
EMP_ID int NULL,
ENAME varchar(30) NULL,
YR varchar(4) NULL,
MON varchar(3) NULL,
WORKING_HRS int NULL,
RATE int NULL,
SALARY AS (WORKING_HRS*RATE)
)
INSERT...
April 8, 2009 at 8:19 am
aram_golbaghi (4/8/2009)
CREATE VIEW UV_ProductsPrices
AS
WITH PriceCompare AS (
SELECT i.productid ,ph.actiondate,ph.feebuy,ph.feesale,ph.feeenduser,ROW_NUMBER() OVER (Partition BY ph.ProductId ORDER...
April 8, 2009 at 8:14 am
The point which i didn't understand is why your code depends on the sequence of the PK??
April 8, 2009 at 8:10 am
Ramesh (4/8/2009)
Or this way too...
DECLARE @SomeFile VARCHAR(255)
SET @SomeFile = 'C:\WINDOWS\system32\FileName.xls'
SELECT RIGHT( @SomeFile, CHARINDEX( '\', REVERSE( @SomeFile ) + '\' ) - 1 )
Perfect solution..with simple trick using REVERSE...
April 8, 2009 at 8:04 am
In addition to the "EXEC" always have TRY..CATCH block to avoid any un-expected errors during the operations.
April 8, 2009 at 8:03 am
APARNA (4/8/2009)
UPDATE TABLESET COLUMN1 = RTRIM(LTRIM(Column1)) + ']'
I Wounder why we dont have TRIM function in SQL Server. 😉
April 8, 2009 at 7:59 am
Jeff Moden (4/7/2009)
I've not read all the posts on this thread, but why not just use replication for this?
Hi jeff, this is not about replication.:-D Its about moving data from...
April 8, 2009 at 7:55 am
AFIFM (4/7/2009)
April 7, 2009 at 5:42 pm
You can even pad all the "0" till yuo reach length of the string as 11.
April 7, 2009 at 10:46 am
timeline (4/7/2009)
Thank you for you reply. My mistake was not stating that the spreadsheet is started from vb.net 2003. Sorry bout that.
if you are doing it from VB.NET then it...
April 7, 2009 at 10:43 am
Hi
Ask your Oracle DBA to increase RollBack Segment size. In addition to this instead of reading all the records at one shot read them in chunks to avoid any kind...
April 7, 2009 at 10:39 am
Viewing 15 posts - 121 through 135 (of 440 total)