Hi Ade, Thanks for that, but is there a way to copy a whole row... say copy the whole particular row of a table by its ID and paste it into an empty row - therefore not having to copy all of the columns individually? Sort of like a copy and paste.
Thanks, Saturday On 27 Nov 2005, at 18:30, Adrian Lynch wrote: > INSERT INTO YourTable ( > YourColumns, > ..., > ... > ) SELECT > YourColumns, > ..., > ... > FROM YourTable > > -- For SQL Server > SELECT @@IDENTITY YourNewID > -- Or > SELECT SCOPE_IDENTITY() YourNewID > > Ade > > -----Original Message----- > From: Saturday (Stuart Kidd) [mailto:[EMAIL PROTECTED] > Sent: 27 November 2005 18:21 > To: CF-Talk > Subject: SQL > > > Hi guys, > > I have club events listed in a database. To make shorter work for > promoters when they'd like to duplicate events is there a way to copy > a row in ms-sql via CF and find the ID of that row? > > Thanks, > > Saturday > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225334 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

