Viewing 15 posts - 151 through 165 (of 202 total)
thnks but how can i insert
80000 records
and loop the insert ???
ilan
February 21, 2004 at 3:01 pm
not work !!
-----------------
CREATE TABLE [tblTest] (
[YEARVAL] [smallint] NOT NULL CONSTRAINT [DF_tblXXX_YEARVAL] DEFAULT (datepart(year,getdate())),
[AUTONUM] [int] IDENTITY (1, 1) NOT NULL ,
[ValX] [char] (1) NOT NULL ,
CONSTRAINT [PK_tblTest] PRIMARY KEY CLUSTERED ,
...
February 10, 2004 at 5:08 pm
problem with the code
----------------------------------
CREATE TABLE [tblTest] (
[YEARVAL] [smallint] NOT NULL CONSTRAINT [DF_tblXXX_YEARVAL] DEFAULT (datepart(year,getdate())),
[AUTONUM] [int] IDENTITY (1, 1) NOT NULL ,
[ValX] [char] (1) NOT NULL ,
CONSTRAINT [PK_tblTest] PRIMARY KEY CLUSTERED...
February 10, 2004 at 4:42 pm
i have a little problem
i wont to add this(the new) Column
to table thet i use thet have records !!!
and i have one IDENTITY Column with AUTONUM
February 10, 2004 at 4:36 pm
i wont new evry year
to start from from 1
but like this
in start of the year 2003
1-2003 2-2003 ......................................................................99999-2003
and in the start of the year 2004
like this
1-2004 2-2004 ......................................................................99999-2004
and evry new...
February 10, 2004 at 4:00 pm
And what abut the auto number from the beginning of the year that
I wont that the number start from 1
until...
February 10, 2004 at 1:37 pm
And what abut the auto number from the beginning of the year that
I wont that the number start from 1
until...
February 10, 2004 at 1:35 pm
How can i make auto number from the first day of the year?
How can I make this?
From the binging of the year
February 10, 2004 at 1:07 pm
ok
----------
in siloke =(59 row(s) affected)
and in
mhlkot= (10 row(s) affected)
-----------
ilan
September 30, 2003 at 4:43 pm
Pardon me
it is ok the code
---------------------
thnks
ilan
September 30, 2003 at 4:33 pm
still an error
-----------------
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'mhlkot'.
------------------------------------------
thnks
ilan
September 30, 2003 at 4:24 pm
thnks but i get an error
-------------
Server: Msg 170, Level 15, State 1, Line 11
Line 11: Incorrect syntax near 'sp_executesql'.
-------------------------------------
ilan
September 30, 2003 at 4:08 pm
this
---------------------------------------------FNAME MHLKA SOG COUNT_ID
-------------------------------------------
BOB-MILER DEP...
July 31, 2003 at 3:32 am
Viewing 15 posts - 151 through 165 (of 202 total)