Viewing 15 posts - 1 through 15 (of 93 total)
Wonderful. Thank a ton Jeff
July 26, 2022 at 8:24 pm
This looks amazing. But i just want to replicate same data for non pk columns.
July 26, 2022 at 7:47 pm
This is awesome. worked great. you made my day Jeff. Always big fan of you.. 🙂
August 2, 2020 at 2:02 am
yes Jason. The string always in numerical ascending order. and every string will have exact 5 numbers in production.
August 2, 2020 at 1:58 am
wow, i did not thought string_agg can come handy here.Great Jeff.
August 1, 2020 at 9:06 pm
Worked like a champ. Thanks jeff.
June 14, 2020 at 1:43 am
I tried using loops which I know not a better way. Is there any solution with direct sql query to get required output.
June 13, 2020 at 9:48 pm
ColdCoffee...You rock..........thats what i was exactly looking for...your code works great after removing the line
AND [YEAR] = (SELECT DISTINCT [YEAR] FROM [tblPeriod] WHERE PERIODID = @intPeriodID)
April 28, 2010 at 12:47 am
Thanks for the responses..
sample data..
insert into [dbo].[tblPeriod]
select 2008,'March',17,21
union all
select 2008,'Apr',18,24
union all
select 2008,'May',19,25
union all
select 2008,'Jun',20,22
union all
select 2008,'July',19,28
union all
select 2008,'Aug',17,21
union all
select 2008,'Sep',18,24
union all
select 2008,'Oct',19,25
union all
select 2008,'Nov',20,17
union all
select 2008,'Dec',19,15
union all
select 2008,'Jan',20,16
union all
select...
April 27, 2010 at 10:50 pm
Try below code..you need to have tally table built in your database to run this..
SET NOCOUNT ON
if object_id('tempdb..#Category') IS NOT NULL DROP TABLE #Category
if object_id('tempdb..#Category1') IS NOT NULL DROP...
April 13, 2010 at 4:33 am
GUys:
I have upsized the access 2003 to ADP (upsized the db to SQL Server 2005). application and reports working as expected.
But now, am unable to set security in ADP file...
April 9, 2010 at 1:17 am
It Rocks...Cool dude...thanks a lot...
March 26, 2010 at 4:07 am
Bru...by seeing your last name, I guess, you are from Hyd'bad...ami right??
December 15, 2009 at 10:00 am
Let me do this time for you...
create TABLE [Department9](
[DepartmentID] [smallint] NOT NULL,
[Name] varchar(1000) NOT NULL
)
create TABLE [EmpDept9](
[DepartmentID] [smallint] NOT NULL,
[empname] varchar(1000) NOT NULL
)
insert into department9...
December 3, 2009 at 10:01 am
Viewing 15 posts - 1 through 15 (of 93 total)