Viewing 15 posts - 20,176 through 20,190 (of 26,490 total)
Not knowing the possible values in PlusFour, try this:
SELECT (ZIP + case when PlusFour is not null then '-' + PlusFour else '' end) AS FullZIP
FROM Address
June 29, 2009 at 2:41 pm
ddicecca (6/29/2009)
GilaMonster (6/29/2009)
Take a look in Books Online for the UPDATE ... FROM syntax.
Seriously...? That's your help? I have Googled this for a good hour already. Hence...
June 29, 2009 at 2:34 pm
Alvin Ramard (6/29/2009)
Lynn and Gail, what would you say to creating a new table in a user database for holding the new data, along with the key fields from sys.sql_logins?
Hmm,...
June 29, 2009 at 2:20 pm
First, to help we will need additional information. We need the DDL (CREATE TABLE statements) for the tables involved, both source and destination. Sample data in a readily...
June 29, 2009 at 2:17 pm
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
Viewing 15 posts - 20,176 through 20,190 (of 26,490 total)