Viewing 15 posts - 7,951 through 7,965 (of 8,753 total)
jaimepc199 (6/19/2014)
I forget something, is there any way to use windows functions on this example?thanks 😀
As the set has only one divisor (codcategory) and there is no requirement to preserve...
June 19, 2014 at 11:24 pm
Jeff Moden (6/19/2014)
June 19, 2014 at 1:08 pm
OCTom (6/19/2014)
GilaMonster (6/19/2014)
david.tyler (6/18/2014)
My current employer is trying to convince our DB group SQL Server is a dying technology and open source is the way to go.
So what's his motivation...
June 19, 2014 at 1:02 pm
Yet two more ways
😎
USE tempdb;
GO
DECLARE @TSTR TABLE
(
TSTR_ID INT IDENTITY(1,1) PRIMARY KEY CLUSTERED NOT NULL
,TSTR_VALUE VARCHAR(50) NOT NULL
);
INSERT INTO...
June 19, 2014 at 11:13 am
Another of many
😎
DECLARE @STR_A VARCHAR(50) = '1.9999-Q1'
;WITH STR_POS AS
(
SELECT
CHARINDEX(CHAR(46),@STR_A) AS P1
...
June 19, 2014 at 7:56 am
Is it something along these lines that you are after?
😎
SELECT
TBO.schedule_time
,'OPEN' AS open_closed
FROM
(
SELECT
...
June 19, 2014 at 2:38 am
Many ways of doing this, here are two quick examples. BTW, thanks for the nice DDL/sample.
😎
Slightly long winded pre 2012.
;WITH LIC_TYPE AS
(
SELECT
TL.ID
,ROW_NUMBER...
June 18, 2014 at 10:42 pm
I see steadily increasing demand for SQL Server professionals, it is the de facto database platform for small and medium enterprises, and one of M$ best money buckets.
😎
June 18, 2014 at 11:49 am
Further on Jason's advice
😎
USE tempdb;
GO
create table dbo.names (Place varchar(50));
insert into dbo.names ( Place) values ('(1)');
insert into dbo.names ( Place) values ('(100)');
insert into dbo.names ( Place) values ('(200)');
SELECT
...
June 18, 2014 at 11:43 am
Lynn Pettis (6/18/2014)
Grant Fritchey (6/18/2014)
SQLRNNR (6/18/2014)
jasona.work (6/18/2014)
GilaMonster (6/17/2014)
"No pressure to...
June 18, 2014 at 10:49 am
raju.venkatsv (6/18/2014)
request you to provide some hints or some information , using which i can update my trigger to meet business requirement.z
requesting you for...
June 18, 2014 at 10:28 am
mickyT (6/16/2014)
DECLARE @smiley varchar(20) = 'Dont Worry Be Happy';
WITH Params AS (
SELECT MAX(CASE WHEN ItemNumber = 1 THEN Val END) OFFSET,
MAX(CASE WHEN...
June 18, 2014 at 10:17 am
trikha.ishan (6/18/2014)
I tried to update the .dtsx file using notepad in development server and that change is in Script Component but when I ran the package that change didn't reflected...
June 18, 2014 at 10:06 am
Gazareth (6/18/2014)
MS's comments on this: http://support.microsoft.com/kb/86903There's another link on the page to more detailed requirements.
Thanks!
😎
June 18, 2014 at 4:54 am
Viewing 15 posts - 7,951 through 7,965 (of 8,753 total)