Damage's Profile
Reputation: 27
Craftsman
- Group:
- Contributors
- Active Posts:
- 1,074 (0.59 per day)
- Joined:
- 05-June 08
- Profile Views:
- 8,455
- Last Active:
Mar 12 2013 08:47 PM- Currently:
- Offline
Previous Fields
- Country:
- NZ
- OS Preference:
- Windows
- Favorite Browser:
- FireFox
- Favorite Processor:
- AMD
- Favorite Gaming Platform:
- PC
- Your Car:
- Who Cares
- Dream Kudos:
- 75
Latest Visitors
-
IronRazer 
26 Mar 2013 - 08:27 -
doveraudio 
20 Jan 2013 - 11:00 -
lucky3 
12 Nov 2012 - 15:25 -
no2pencil 
16 Jul 2012 - 22:42 -
Atli 
16 Jul 2012 - 19:17
Posts I've Made
-
In Topic: Helpdesk webdesign language
Posted 12 Mar 2013
schweet, thanks -
In Topic: Updating values using 3 seperate tables
Posted 20 Feb 2012
awesome thanks, didnt know you could use a select like that. heres what i ended up with
DECLARE @filename VARCHAR(max) DECLARE @fileprecis VARCHAR(max) DECLARE @tccref integer declare precisCursor Cursor for select tccref + '1',precis from tempBC open precisCursor fetch next from precisCursor into @filename,@fileprecis while @@FETCH_STATUS = 0 begin --print @filename + ' ' + @fileprecis select @tccref = b.docsetid from tempBC a join files b on a.tccref + '1' = b.origname where a.tccref + '1' = @filename update document set precis = @fileprecis where docsetid = @tccref --select * from document where docsetid = @tccref fetch next from precisCursor into @filename,@fileprecis end close precisCursor deallocate precisCursor
-
In Topic: Updating values using 3 seperate tables
Posted 20 Feb 2012
it's a db that i can't change unfortunately modi.
e_i_pi, it's for a set of rows but yup thats pretty much the idea. Theres a title associated with a filename in table one that i need to use to update the row in table three with the correct id
This is what i had, but it's only affecting one row(using a select instead of update just to see the results)
DECLARE @filename VARCHAR(50) DECLARE @fileprecis VARCHAR(max) DECLARE @tccref integer declare precisCursor Cursor for //original file name title select tccref + '1',precis from tempBC open precisCursor fetch next from precisCursor into @filename,@fileprecis while @@FETCH_STATUS = 0 begin declare refCursor Cursor for //ID select docsetid from files where origname like @filename open refCursor fetch next from refcursor into @tccref //id title select docsetid,precis from document where docsetid = @tccref fetch next from refcursor into @tccref fetch next from precisCursor into @filename,@fileprecis end close refcursor deallocate refcursor close precisCursor deallocate precisCursor
-
In Topic: Unauthorized Access
Posted 11 Jan 2012
K, figured out that it's because the file is readonly, thanks. But am i being really dense here? Shouldn't that still cause an io error not and unauthorized access one? -
In Topic: Unauthorized Access
Posted 11 Jan 2012
Sure,it's pretty sparse
UnauthorizedAccessException was unhandled Access to path 'c:\Datawrks\temp\4897128\TCC435674.pdf' is denied
My Information
- Member Title:
- D.I.C Lover
- Age:
- 30 years old
- Birthday:
- February 1, 1983
- Gender:
-
- Location:
- I live in the great state of Denial but i often visit the neighbouring state of Hysteria
Contact Information
- E-mail:
- Click here to e-mail me
- Website URL:
-
http://
Friends
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
Damage has no profile comments yet. Why not say hello?