Viewing 15 posts - 196 through 210 (of 514 total)
Although I see nothing wrong with the script, there is a perferred method.
So I suggest that you use the method recommended by MS which is to use the sp_help_revlogin procedure.
November 27, 2007 at 9:26 am
If you want a 2000 version of the query perhaps you should ask for one (Or offer one yourself) I don't see the point in being critical of a...
November 27, 2007 at 9:21 am
You realize that the only ones who will read that article are those that know how to post 🙁 However, is it just me or did Jeff's post of...
November 27, 2007 at 6:53 am
Oh great... Helping a Bengal. Hoping to be at the 12/2 game 🙂
November 20, 2007 at 11:39 am
Pittsburgh (EST) so I have a few hours yet, and I won't be back to work until next Monday. Thanksgiving Holiday. I am sure I will check in...
November 20, 2007 at 11:05 am
Ok. Then that is the exact opposite that I thought you wanted.
The index should be ASC not descending, and the part where the substrings are needs adjusted slightly. ...
November 20, 2007 at 9:54 am
kipp (11/20/2007)
THe only thing it is doing is the last date is not getting populated...
11256.001 1995-07-05 00:00:00
11256.001.01 1995-07-05 00:00:00
11256.001.02 NULL
11256.001.03 NULL
11256.001.04 NULL
it is flowing down to .03 and...
November 20, 2007 at 9:07 am
Do you have this line?
@dt = ISNULL(proj_start_dt,@DT),
November 20, 2007 at 8:53 am
Can you post your final code, because what I have does work.
Before:
11256.001.042006-01-01 00:00:00NULL
11256.001.03NULLNULL
11256.001.02NULLNULL
11256.001.011995-07-05 00:00:001996-05-04 00:00:00
11256.0011995-07-05 00:00:001996-05-04 00:00:00
After:
11256.001.042006-01-01 00:00:00NULL
11256.001.032006-01-01 00:00:00NULL
11256.001.022006-01-01 00:00:00NULL
11256.001.011995-07-05 00:00:001996-05-04 00:00:00
11256.0011995-07-05 00:00:001996-05-04 00:00:00
November 20, 2007 at 8:52 am
DROP TABLE #proj -- my temp table
CREATE TABLE #Proj(
[Proj_ID] [varchar](50) NOT NULL,
[Proj_Start_Dt] [smalldatetime] NULL,
[Proj_End_DT] [smalldatetime] NULL,
CONSTRAINT PK_Proj PRIMARY KEY CLUSTERED
...
November 20, 2007 at 6:21 am
kipp (11/19/2007)
DROP TABLE proj_id_11256; -- my temp table
SELECT * INTO proj_id_11256
FROM PROJ order...
November 19, 2007 at 7:53 pm
Just makes it a little harder, but this was a trick that I was shown a few weeks back.
/*
CREATE TABLE [tblTest](
[ProjProjID] [varchar](50) NOT NULL,
[ProjStartDt] [datetime] NULL,
[ProjEndDT] [datetime] NULL,
CONSTRAINT [PK_tblTest]...
November 19, 2007 at 10:26 am
Can you change the clustered index on the table?
November 19, 2007 at 10:01 am
I'm with Jeff on this. Why do you need to do this? But more that that, have you verfied there are no FK's against this table?
November 19, 2007 at 8:51 am
Thanks Jeff!
Even the blind squirrel occasionally finds a nut 🙂
November 12, 2007 at 5:43 am
Viewing 15 posts - 196 through 210 (of 514 total)