Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 3rd, 2005, 12:58 AM
Authorized User
 
Join Date: Apr 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default cahllenging sql problem

hi

i have a table of the following format

====================
1 GIACCI BROS PTY LTD
2 Head Office
3 Picton South Western Hwy 6229 (08) 9725 4588
4 After Hours Emergencies (08) 9725 4253
5 Fax (08) 9725 4225
5 Email [email protected]
6 Internet www.giacci.com.au
7
8
9
10 Giacci Bros Pty Ltd
11 South Western Hwy Picton 6229 (08) 9724 9588



  Giacci Port Services Pty Ltd
  397 Marine Tce Geraldton 6530 (08) 9964 1366



  Giacci Port Services Pty Ltd
  Marine Tce Geraldton 6530 (08) 9964 6893



  GIACO'S HAIR DESIGN
  Shop 1/ 8 Brockman St Manjimup 6258 (08) 9771 1774
====================



there are blank rows inbetween 2 records, number of blank rows not fixed.I want to rearrange them in the following order

my requiremnets r
rows do not have numbering i give them for simplicity
1. remove blank rows ie 7,8,9 rows
2. arrange all rows in group in consecutive columns ie arrane rows 1,2,3,4,5,6 in columns.then 2nd record consisting of rows 10,11

final format will be something like this--------
======================
GIACCI BROS PTY LTD Head Office Picton South Western Hwy 6229 (08) 9725 4588 After Hours Emergencies (08) 9725 4253 Fax (08) 9725 4225 Email [email protected] Internet www.giacci.com.au

Giacci Bros Pty Ltd South Western Hwy Picton 6229 (08) 9724 9588

Giacci Port Services Pty Ltd 397 Marine Tce Geraldton 6530 (08) 9964 1366

Giacci Port Services Pty Ltd Marine Tce Geraldton 6530 (08) 9964 6893

GIACO'S HAIR DESIGN Shop 1/ 8 Brockman St Manjimup 6258 (08) 9771 1774
======================

i already developed a logic for it but it slows the system .there r number of files each consisting of thousands of records. i want to speed up the operation

is it possible with sql

thanx

 
Old July 4th, 2005, 12:45 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://p2p.wrox.com/topic.asp?TOPIC_ID=32389






Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL problem MArk_dB BOOK: Beginning ASP 3.0 1 December 16th, 2007 07:33 AM
sql problem shrisangeeta Classic ASP Databases 2 May 24th, 2006 09:58 AM
SQL problem Lexus SQL Language 2 January 20th, 2005 09:25 AM
SQL problem Clive Astley Access VBA 4 October 19th, 2004 10:42 AM
SQL Problem tjw Access 1 November 12th, 2003 09:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.