Viewing 15 posts - 9,931 through 9,945 (of 26,489 total)
Sean Lange (8/24/2012)
tyson.price (8/24/2012)
Eugene Elutin (8/24/2012)
Steven Willis (8/24/2012)
CREATE FUNCTION dbo.svfRemoveLeftMostCharacters
(
@Source VARCHAR(1000)
,@Char CHAR(1)
)
RETURNS VARCHAR(1000)
AS
BEGIN
/* This function requires a Tally or Numbers table...
August 24, 2012 at 12:44 pm
Actually, I think the following provides a better picture:
select
cast(0xD7DF6FC50A6807D31E27505A46DA7EA0 as bigint),
cast(0xD7DF6FC50A6807D31E27505A46DA7EA0 as int),
cast(0x1E27505A46DA7EA0 as bigint),
...
August 24, 2012 at 12:42 pm
YSLGuru (8/24/2012)
August 24, 2012 at 12:37 pm
Simple, BIGINT is 8 bytes while INT is 4 bytes. Run the following code:
select
cast(0xD7DF6FC50A6807D31E27505A46DA7EA0 as bigint),
cast(0xD7DF6FC50A6807D31E27505A46DA7EA0 as int),
...
August 24, 2012 at 12:12 pm
Using the server-side trace, you should also be able to capture the session connection information. See if there is any difference between the sessions, what options are on and...
August 24, 2012 at 11:52 am
tyson.price (8/24/2012)
Eugene Elutin (8/24/2012)
Steven Willis (8/24/2012)
CREATE FUNCTION dbo.svfRemoveLeftMostCharacters
(
@Source VARCHAR(1000)
,@Char CHAR(1)
)
RETURNS VARCHAR(1000)
AS
BEGIN
/* This function requires a Tally or Numbers table */
August 24, 2012 at 11:46 am
You will notice a double standard here. The potential employer will ask for salary history from prospective employees but many refuse to tell these same people what they may...
August 24, 2012 at 11:14 am
Just a couple of questions:
Recovery model of database while index rebuild was running.
Size of database (not t-log).
August 24, 2012 at 9:52 am
Unfortunately, we can't see what you see. You haven't given us enough information to be able to help you. Based on what has been posted, I can't even...
August 24, 2012 at 9:45 am
Something like the following be helpful?
declare @TestDate datetime = getdate();
select @TestDate, dateadd(hh, 20, dateadd(dd, datediff(dd, 0, dateadd(hh, -20, @TestDate)), 0));
set @TestDate = '2012-08-24 20:00:00.000';
select @TestDate, dateadd(hh, 20, dateadd(dd, datediff(dd, 0,...
August 24, 2012 at 9:42 am
Nullified (8/23/2012)
Syntax:
CREATE FUNCTION [dbo].[functionname]
(
@inputvraiables Datatype
)
RETURNS...
August 23, 2012 at 6:01 pm
viksch (8/23/2012)
August 23, 2012 at 6:00 pm
Using a calendar table would work, you would use a left join from the date to your data.
I have to leave now, but if no one provides you a more...
August 23, 2012 at 4:27 pm
It depends. You use them when they are appropriate. One use for them is as a parameterized view.
August 23, 2012 at 3:46 pm
Arjen Krap (8/23/2012)
August 23, 2012 at 1:20 pm
Viewing 15 posts - 9,931 through 9,945 (of 26,489 total)