How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
Windows Ram Disk Device Driver
By MarkUK on Jul 12
Max Bid: Open to fair suggestions


Simulation of online auction web service using age ...
By paok-thanos4a on Jul 12
Max Bid: $200


PHP - WYSWYG Editor (snippetmaster clone)
By Portal Designs on Jul 12
Max Bid: Open to fair suggestions


System Cleaner
By Endemix on Jul 12
Max Bid: Open to fair suggestions


MFC Application
By lwinkenb on Jul 12
Max Bid: Open to fair suggestions


problem in VB with custom cursors
By jkoder59 on Jul 12
Max Bid: $25


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(144 open)
   Access 
(56 open)
   MySQL 
(79 open)
   Oracle 
(10 open)
   SQL Server 
(49 open)
   Other DB 
(19 open)
Documentation / Tech Writing 
(16 open)
Data Entry 
(20 open)
Game Development 
(26 open)
Graphics / Art / Music 
(53 open)
   Graphics 
(60 open)
     Adobe AfterEffects 
(1 open)
     Adobe Photoshop 
(18 open)
     Adobe Premiere 
(4 open)
     3d Animation 
(15 open)
   Art (Misc.) 
(19 open)
   Music 
(11 open)
   3d Modeling 
(12 open)
Language Specific 
(92 open)
   ASP 
(59 open)
   ASP .NET 
(38 open)
   C# 
(37 open)
   C++ / C 
(109 open)
   Carbon (Mac OS) 
(1 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(13 open)
   Delphi 
(25 open)
   Java 
(62 open)
   JSP 
(8 open)
   Perl 
(42 open)
   PHP 
(87 open)
   XML/XSL 
(30 open)
   Visual Basic 
(146 open)
   Visual Basic .Net 
(57 open)
   Other 
(53 open)
Misc 
(28 open)
   CAD 
(3 open)
MultiMedia 
(41 open)
   Video Editing 
(6 open)
Network 
(40 open)
   Network Design 
(12 open)
   Network Implementation 
(12 open)
Platforms 
(72 open)
   Windows 
(173 open)
     MS Exchange 
(5 open)
     MS Office 
(14 open)
     Other 
(14 open)
   Darwin 
(1 open)
   Internet Browser 
(45 open)
   Linux 
(57 open)
   UNIX 
(27 open)
   Hand Held/PDA Programming 
(9 open)
Requirements 
(12 open)
Security 
(30 open)
Testing / Quality Assurance 
(17 open)
Web 
(148 open)
   Page Design 
(82 open)
   Flash 
(45 open)
   Web Services 
(71 open)
   Web (Other) 
(69 open)
Training 
(10 open)
   Computer Based 
(10 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Trigger/constraints/ stored procedure for a tree
Bid Request Id: 42945
Bookmark in my 'To Do' list
Posted by: aramyus (8 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 23.81%
Buyer Security Verifications: Excellent
Approved on: Jan 9, 2003
4:39:29 PM EDT
Bidding Closes: Jan 16, 2003 EDT
Viewed (by coders): 131 times
Deadline: 1/24/2003
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Very Small Business Project: under $100 (USD)
Bidding Type: Open Auction
Categories: SQL Server
Enter chat room for this bid request
(0 active users at Jul 12, 2003 10:15:39 AM EDT)

Description:
We have 2 tables :

S
S_S

S contains sites (a geographical location, a building, a city, a company...)
Sites are linked together in a table S_S
A record in S_S indicates ASId is linked to BSid
Links should be entered only once

We need two TRANSAC Sql procedures :

a) For a given site in the network, and a given distance d, we want to have the list of the sites 'connected' to the site SId and with maximum distance d from SId. This list must be in a recordset format (select Sid from xxx) and not in a string format (SId1, Sid2...). The distance is the number of levelsthat separate two elements in the tree

b) A set of constraints/ triggers in the table S_S to prevent entering multiple entries and 'tree illegal entries'

Illegal tree entries are those groups of entries that will result in a loop. For example

A linked to B
B linked to C
C may not be linked to A as it is already linked via B

Suggested solution : have all the records S_S in the form of a regular tree There will be necessarily a top parent, whoc can have one or several children etc...I assume this is the only simple solution

The tables are scripted below
There is a record zero in S (Sid = 0, Sname = 'NA' ) that allows to have the constraint Not null on ASid and BSid. This record is simply ignored in the result. The constraint 'Not null' in fields must be kept.



CREATE TABLE [dbo].[S] (
[SId] [int] IDENTITY (1, 1) NOT NULL ,
[SName] [nvarchar] (100) COLLATE French_CI_AS NOT NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[S_S] (
[SSId] [int] IDENTITY (1, 1) NOT NULL ,
[ASId] [int] NOT NULL ,
[BSId] [int] NOT NULL
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[S] WITH NOCHECK ADD
CONSTRAINT [PK_S] PRIMARY KEY CLUSTERED
(
[SId]
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[S_S] WITH NOCHECK ADD
CONSTRAINT [PK_S_S] PRIMARY KEY CLUSTERED
(
[SSId]
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[S_S] ADD
CONSTRAINT [FK_S_S_S] FOREIGN KEY
(
[ASId]
) REFERENCES [dbo].[S] (
[SId]
),
CONSTRAINT [FK_S_S_S1] FOREIGN KEY
(
[BSId]
) REFERENCES [dbo].[S] (
[SId]
)
GO


Deliverables:
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Complete ownership and distribution copyrights to all work purchased.



Platform:
sql server 2000

Must be 100% finished and received by buyer on:
Jan 24, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
SmartCoders
(34 ratings)
in Bay Harbor Islands, Florida
United States
Bid id: 464,768
 
$30 (USD) Jan 10, 2003
12:49:39 AM EDT
 8.73
(Superb)
   
Hello,
I can develop this for $30.

Regards,
 




Quick Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.97 on 102 jobs 
Securenext
Rated a 9.96 on 109 jobs 
Buddies
Rated a 9.82 on 80 jobs 
Andrei Remenchuk
Rated a 10 on 13 jobs 
Codman
Rated a 9.97 on 149 jobs 
Michael Sharp
Rated a 9.97 on 181 jobs 
D-N-S
Rated a 9.93 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Tometa Software, Inc.
Rated a 10 on 10 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.