Viewing 7 posts - 1 through 8 (of 8 total)
ok. let's start over 🙂
the object of my task is to do the following:
get all records that were not modified.
if 2 files or more have the same name we are...
August 17, 2011 at 9:28 am
thnx for the help but that didn't work
insert into MyTable (file_desc, is_modified) values ('a.txt',0)
insert into MyTable (file_desc, is_modified) values ('a.txt',1)
insert into MyTable (file_desc, is_modified) values ('b.txt',0)
insert into MyTable...
August 17, 2011 at 7:12 am
sorry this is the correct code
CREATE TABLE [dbo].[MyTable]
(
[rec_index] INT IDENTITY(1,1) PRIMARY KEY CLUSTERED,
file_desc...
August 17, 2011 at 5:46 am
ok, i added this code fro creating and inserting values to the table
CREATE TABLE [dbo].[MyTable]
(
[rec_index] INT IDENTITY(1,1) PRIMARY KEY CLUSTERED,
...
August 17, 2011 at 5:43 am
CREATE TABLE [dbo].[MyTable]
(
rec_index INT IDENTITY(1,1) PRIMARY KEY CLUSTERED,
file_desc nvarchar(50),
is_modified bit
)
this is my table.
now...
August 17, 2011 at 5:14 am
This is very simple to do. How about setting up a little sample data to test the code against? One of the links in my sig will show you how...
August 17, 2011 at 3:29 am
thx for the reply.
wasn't familiar with the BOL option.
🙂
July 31, 2011 at 3:19 am
Viewing 7 posts - 1 through 8 (of 8 total)