Viewing 15 posts - 20,176 through 20,190 (of 26,484 total)
Mark Eytcheson (6/29/2009)
1. StartDate
SELECT CAST((CONVERT(varchar(10), GETDATE()-9, 101)) AS DATETIME) AS StartDate
2. EndDate
SELECT CAST((CONVERT(varchar(10), GETDATE()-2, 101) + ' 23:59:59') AS DATETIME) AS EndDate
Then set the parameters @StartDate...
June 29, 2009 at 1:26 pm
You already have a thread for this here.
Please post any responses on thread linked above.
June 29, 2009 at 1:23 pm
Rod at work (6/29/2009)
Lynn Pettis (6/29/2009)
June 29, 2009 at 1:13 pm
You can't modify the structure or content of the system tables.
June 29, 2009 at 12:58 pm
1. Yes
2. Read Books Online (the SQL Server Help System). You can access it from SSMS (SQL Server Management Studio) by pressing the {F1} function key.
June 29, 2009 at 11:49 am
Curious, but shouldn't this:
DECLARE noteID_curs CURSOR FOR
Select NoteID from BugNotes where BugID=@IncidentID and ProjectID=@ProjectID
come after this:
Select @ProjectID = (Select ProjectID from Inserted)
Select @IncidentID = (Select BugID from Inserted)
??
June 29, 2009 at 11:41 am
GSquared (6/29/2009)
Lynn Pettis (6/29/2009)
AARRRGGGG!!!When will people learn to read???
Reading leads to learning. Learning leads to knowledge. Knowledge leads to power. Power corrupts!
And Absolute Power corrupts Absolutely! 😉
June 29, 2009 at 11:35 am
I am assuming you are attempting to connect from a separate system. What version of SQL Server was installed?
June 29, 2009 at 11:31 am
Why not just restore the latest backup as a new database? It may not be current, ie up to the minute, but it would be close.
June 29, 2009 at 11:29 am
jrmtl (6/29/2009)
I had to put NULL for the old password parameter,how can i force a change when the user logs in , the equivalent of MUST_CHANGE in sql2005
You can't.
June 29, 2009 at 11:25 am
When will people learn to read???
June 29, 2009 at 11:21 am
exec sp_password @new = 'password', @loginname = 'username'
June 29, 2009 at 11:19 am
Krasavita (6/29/2009)
June 29, 2009 at 10:59 am
Jeff Moden (6/29/2009)
Heh... solve it all... store everything in one big EAV with SCD 2 applied to eliminate the need for separate auditing or archiving... 😛
How about a single XML...
June 29, 2009 at 10:56 am
jrmtl (6/29/2009)
I guess we have to be logged in as SAI have admin rights and I execute
exec sp_password 'password', 'user'
and it tells me that MYuser doesn't exist?
No,...
June 29, 2009 at 10:54 am
Viewing 15 posts - 20,176 through 20,190 (of 26,484 total)