Viewing 15 posts - 1,936 through 1,950 (of 2,006 total)
I don't understand this at all. . . is the month stored as an INT? Or is it actually a DATETIME that you get the month from?
The reason I ask...
June 8, 2010 at 7:32 am
Jan Van der Eecken (6/8/2010)
DECLARE @Fathers TABLE (FatherId VARCHAR(10), age INT)
INSERT INTO @Fathers
SELECT 'Father1', 12
UNION...
June 8, 2010 at 4:30 am
lol, just answered an identical question that wanted the largest instead of the smallest from the data set.
--First things first, since you have provided this in your question,
--I build some...
June 8, 2010 at 3:59 am
This should work for you.
--First things first, since you have provided this in your question,
--I build some dummy data.
DECLARE @Table1 TABLE(
[Father] ...
June 8, 2010 at 3:46 am
Hmmm, I've read about this problem before. I think the code you want is: -
OPEN MASTER KEY DECRYPTION BY PASSWORD = 'password'
ALTER MASTER KEY ADD ENCRYPTION BY SERVICE MASTER KEY
CLOSE...
June 8, 2010 at 3:13 am
C# in 2008.
Or compile whatever code you want and call it (not tried myself, but heard it can be done)
June 7, 2010 at 5:29 am
ColdCoffee (6/7/2010)
skcadavre (6/7/2010)
ColdCoffee (6/7/2010)
June 7, 2010 at 5:23 am
This code is not mine, not sure where it came from but I used it to do the same thing.
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[GetAllTableSizes]')...
June 7, 2010 at 4:54 am
ColdCoffee (6/7/2010)
DECLARE...
June 7, 2010 at 4:42 am
Something like this?
I've returned both the start bit and the end bit, basically getting rid of the "Key" part, because I wasn't entirely sure what you're after
(code has been...
June 7, 2010 at 4:10 am
It depends. . .
SELECT ...
FROM ...
WHERE EXISTS ...
??
Without knowing how your mailserver stores anything, I'll give you that to get started.
June 4, 2010 at 6:13 am
No, you can't.
What about using the "on failure action" in the agent job?
June 4, 2010 at 5:54 am
I think you've misunderstood how your code works. . .
This is your code, with some comments: -
-- Declare Variables
DECLARE @AcctNbr AS VARCHAR(9)
SET @AcctNbr = '026983970'
DECLARE @ErrCode AS BIT
DECLARE @AcctNum AS...
June 2, 2010 at 6:44 am
Before I spend time answering you, let me see if I actually understand your question.
DECLARE @Table1 TABLE(
[AppId] ...
May 28, 2010 at 8:25 am
May 28, 2010 at 8:03 am
Viewing 15 posts - 1,936 through 1,950 (of 2,006 total)