Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
| Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language 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
  #1 (permalink)  
Old July 3rd, 2005, 12:43 AM
Authorized User
 
Join Date: Apr 2005
Location: , , .
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can anyone create this query for me???????????

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 info@giacci.com.au
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 info@giacci.com.au 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

  #2 (permalink)  
Old August 23rd, 2005, 01:07 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Pay someone to do the ETL manually. This needs eyes on each record.


mmcdonal


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a field in a query Vision G Access 1 July 26th, 2006 03:33 PM
How to Create Join Script for a Query ....... ZArrinPour SQL Server 2000 0 June 25th, 2006 11:48 AM
create query at runtime vipinpaliwal1980 Access 1 April 24th, 2006 06:27 AM
Create a DLL for inserting a query into jaideep VB Components 1 May 16th, 2005 06:49 AM
create query through a form madeira Access 4 September 26th, 2003 06:53 AM





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