Viewing 15 posts - 3,466 through 3,480 (of 4,820 total)
GilaMonster (7/13/2015)
sgmunson (7/13/2015)
(P.S. you needed a TOP (100) PERCENT added to allow your ORDER BY clause)
The order by should be removed, or moved to the query which selects from...
July 13, 2015 at 7:28 am
mattsynco (7/12/2015)
July 13, 2015 at 7:21 am
gentong.bocor (7/13/2015)
How can i create a linked server for Microsoft Visual Foxpro databases ?
I'm using Microsoft.ACE.OLEDB.12.0 driver.
I success create a linked server, and...
July 13, 2015 at 6:44 am
Jacob,
Thanks for finding the boo-boo in my code. I didn't quite have the right condition specified, and with that method, the condition becoming correct would be ridiculouly complex, and...
July 10, 2015 at 2:03 pm
drew.allen (7/10/2015)
sgmunson (7/10/2015)
July 10, 2015 at 1:23 pm
SimonH (7/6/2015)
I have none unique Indexes on CustomerID and ServiceID
I've also created a unique Index across both columns.
My delete...
July 10, 2015 at 1:16 pm
Matt Miller (#4) (7/10/2015)
July 10, 2015 at 1:04 pm
Jeff Moden (7/10/2015)
raghava_tg (7/10/2015)
will post sample tables data and query i am using.
in the mean while can any...
July 10, 2015 at 12:57 pm
Ed,
Applying the final query from the previous posts, to your situation, yields this:
DECLARE @tags AS TABLE (
TagNumber varchar(38),
Prefix varchar(7),
Number numeric(38,0)
);
INSERT INTO @tags (TagNumber, Prefix, Number)
VALUES
('840003008335608','8400030',8335608)
,('840003008335609','8400030',8335609)
,('840003008335610','8400030',8335610)
,('840003008335611','8400030',8335611)
,('840003008335612','8400030',8335612)
,('840003008335613','8400030',8335613)
,('840003108335614','8400031',8335614)
,('840003108335615','8400031',8335615)
,('840003108335616','8400031',8335616)
,('840003108335617','8400031',8335617)
,('91BDO2751','91BDO',2751)
,('91BDO2752','91BDO',2752)
,('91BDO2753','91BDO',2753)
,('91CQO2754','91CQO',2754)
,('91CQO2755','91CQO',2755)
,('91CQO2756','91CQO',2756)
,('91AEO2757','91AEO',2757)
,('91AEO2758','91AEO',2758)
,('91AEO2759','91AEO',2759)
,('91AEO2760','91AEO',2760);
WITH cteGroup AS (
SELECT T1.*,
ConsecutiveGroup =...
July 10, 2015 at 12:46 pm
99zardoz (7/10/2015)
I have a stored procedure which returns a result set as follows:
(Headers)Total,WV1,WV2,WV3,WV4,WV5.....
(Example data) "Some total name",1,2,3,4,5.....
The WV1, WV2, WV3 column names will be different depending on parameters passed to...
July 10, 2015 at 11:26 am
raghava_tg (7/10/2015)
will post sample tables data and query i am using.
in the mean while can any one directing...
July 10, 2015 at 11:15 am
jon.wilson (7/10/2015)
What I'm ultimately looking for are the number of records in a given FY where the RecordDate was from...
July 10, 2015 at 10:06 am
Any chance the remote table has a constraint on the date field?
July 10, 2015 at 9:56 am
raghava_tg (7/10/2015)
i am using open query in ms sql 2012 to access some data from my sql using tables and joinings.
in the query , i am using some...
July 10, 2015 at 9:50 am
Given that you have the DATE_FY field to determine your fiscal year, the question is, does your fiscal year ALWAYS match your calendar year? (I'm also assuming that both OccurrenceDate...
July 10, 2015 at 9:38 am
Viewing 15 posts - 3,466 through 3,480 (of 4,820 total)