Viewing 15 posts - 4,336 through 4,350 (of 5,590 total)
You can use this example for how to create the missing years. If you can't get it working with this, please do as Lynn suggests, and give us table structures...
April 20, 2010 at 11:44 am
No, this is the way that table variables are supposed to work.
What you can do is change all of the "DECLARE @TABLE TABLE" statements to "CREATE TABLE #TABLE", then change...
April 20, 2010 at 10:32 am
Lynn Pettis (4/20/2010)
SQL Server no longer tracks licensing information. You need to do that manually.
Thanks Lynn. I remember that now after reading it.
Wonder why those parameters for ServerProperty still...
April 20, 2010 at 10:28 am
sturner (4/20/2010)
Then EXCEPT or LEFT OUTER JOIN is what you want.
Agreed.
EXCEPT will get you a list of all of those that you want them to have, minus the ones already...
April 20, 2010 at 10:14 am
This will get you the information for one server:
select ServerProperty('LicenseType'), ServerProperty('NumLicenses')
What I would do is to incorporate this into the SQLCMD command line utility, using the FOR /F dos command...
April 20, 2010 at 10:10 am
Lynn Pettis (4/20/2010)
Lynn Pettis (4/20/2010)
If anyone else can provide some guidance here it would be appreciated.Thanks Wayne for jumping in here to help.
NP. Haven't heard back from the OP yet...
April 20, 2010 at 10:00 am
Jeff Moden (4/19/2010)
Yowch... the formatting monster hit the code hard on this one. I hope Steve can fix it soon.
I think it's all fixed now... all the code...
April 20, 2010 at 9:53 am
To elaborate on what Lynn mentioned, you can use either the IF or CASE statements as shown below:declare @var1 char(3),
@var2 char(3)
set @var1...
April 20, 2010 at 9:40 am
Rog Saber (4/20/2010)
April 20, 2010 at 9:13 am
If you're using a monitor server, the "Transaction Log Shipping Status" report (available in SSMS, right-click the server, select reports | Standard Reports | Transaction Log Shipping Status), and you...
April 20, 2010 at 9:09 am
You might want to check out this link for help in pivoting a query.
April 20, 2010 at 8:56 am
You might want to check out the REPLACE function in BOL.
You might also check out the LIKE function... you might be able to use it as LIKE '%[SX]VD%'.
April 20, 2010 at 8:52 am
Perry Whittle (4/17/2010)
when referring to key constraintsPrimary key does not allow NULLs
Unique key allows a single NULL value
so the 2 are different in that respect
I was just thinking about this,...
April 20, 2010 at 8:33 am
I don't see an issue with your code.
I just ran this code, without error.
CREATE PROCEDURE [dbo].[sp_TLCOMSCandReg] (@CandID VARCHAR(50) output,@FirstName VARCHAR(100),@MiddleName Varchar(100),
@LastName VARCHAR(100),@EmailID VARCHAR(250),@MobileNo VARCHAR (15),
@PhoneNo VARCHAR (15),@DOB DATETIME,@Gender SMALLINT,@Address...
April 20, 2010 at 8:11 am
This doesn't have anything to do with your issue, but why are you passing nvarchar fields to a procedure that is expecting varchar?
April 20, 2010 at 7:58 am
Viewing 15 posts - 4,336 through 4,350 (of 5,590 total)