Viewing 13 posts - 1 through 13 (of 13 total)
used this to add a record number
DECLARE @counter int
SET @counter = 0
UPDATE DBO.NEWDUNDD_SEAXX
SET @counter = rec_numb= @counter + 1
August 23, 2010 at 10:31 am
they are not unique values unfortunately, with the primary key suggestion, is there a way to create a unique record for each row that is added to the table such...
August 23, 2010 at 10:17 am
i dont want to update all the values in the column, only certain ones.
if you look at the data below, you will see there are only certain rows that...
August 23, 2010 at 10:11 am
havent gotten that far yet on the insert into, need to get the syntax together prior to creating the new table.
August 20, 2010 at 11:42 am
this is a data example of what i am attempting to parse into columns. i have tried the substring, not working so well not standard positions on the values
(blank spaces)24W...
August 20, 2010 at 11:42 am
this is what i am using currently, but all the values are not being populated properly.
IF OBJECT_ID('tempdb..#Temp') IS NOT NULL DROP TABLE #Temp
CREATE TABLE #Temp (ID INT Identity, OrigField VarChar(Max),f1...
August 20, 2010 at 10:21 am
i know what is missing by looking at the data.
August 18, 2010 at 12:52 pm
if i use replace, i still cant get the values in the columns i need due to length of the field. there is no set length on the first value...
August 17, 2010 at 10:34 am
i used delete top(1) from table etc.... that seemd to work
thanks
August 17, 2010 at 10:29 am
If i create a table that contains my duplicate values, how do i delete them from the other table
not sure of the syntax to use
select * from duptable where rec=table.rec...
August 12, 2010 at 9:29 am
Thanks, that is basically what i am looking for, i apologize for being slow on getting this, but i want to understand as well as, get it working.
the first substring...
August 11, 2010 at 8:46 am
Some additional assistance please. I used this to create a function, but how do i get it to a table? i have done some searching but im stumped. it...
August 11, 2010 at 8:10 am
thank you very much, that is exactly what i am looking for to retrieve the data to columns,
how do i create a table from that, can i just replace...
August 9, 2010 at 9:29 am
Viewing 13 posts - 1 through 13 (of 13 total)