Viewing 15 posts - 6,301 through 6,315 (of 8,761 total)
anu.anu4u (1/11/2015)
[activityid] [int] IDENTITY(1,1) NOT NULL,
[salespersonid] [int] NULL,
[activitydate] [datetime] NULL
I am trying to make a calender using a gridview...
January 11, 2015 at 3:40 pm
Quick suggestion based on Jeff's post
😎
/****** Object: UserDefinedFunction [dbo].[RE_2190] Script Date: 1/10/2015 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- ST APD Submit
-- Can not have Approved, or...
January 11, 2015 at 9:28 am
Jeff Moden (1/11/2015)
prabhu.st (1/11/2015)
as of now the query is taking 19 seconds to bring the result set with pagination for 300454 records.
Are you saying that (and it looks like...
January 11, 2015 at 9:04 am
anu.anu4u (1/11/2015)
January 11, 2015 at 7:24 am
prabhu.st (1/11/2015)
I am struggling a bit to reduce the execution time for the below query. kindly help me to tune this and to get a optimized performance.
as of now the...
January 11, 2015 at 5:21 am
First of all welcome to the forum, next some quick questions, have you checked the SMART for the SSD? Is this the full and unedited/altered output of DBCC?? How did...
January 10, 2015 at 12:21 pm
ravikumar_v (1/10/2015)
Require help in passing parameters to a stored proc for ex:
GO
create procedure [dbo].[sp_create_proc]
(
@v_in_dbnm varchar(255),
@v_in_schemanm varchar(30)
)
as
BEGIN
DECLARE @v_in_dbname nvarchar(255)
DECLARE @v_in_schemaname nvarchar(30)
DECLARE @sql nvarchar(MAX)
SET @v_in_dbname = @v_in_dbnm
SET @v_in_schemaname = @v_in_schemanm
SET @sql='CREATE...
January 10, 2015 at 11:57 am
Jeff Moden (1/10/2015)
January 10, 2015 at 11:39 am
As implied, the concept has been around for a long time, tends to be shaped somewhat by whichever technology is in at the time. In my opinion, tossing in another...
January 10, 2015 at 11:29 am
For completeness (and some fun :-)) here are two other solutions for 2012 and later
😎
Almost direct translation to window function version, uses LAG instead of aggregation for the cross row...
January 10, 2015 at 5:14 am
Quick but slightly verbose solution, does only scan the table once but that comes at an additional cost, would be a perfect case for LAG/LEAD on SQL Server 2012 or...
January 10, 2015 at 2:55 am
Dee Dee-422077 (1/9/2015)
My example data as this:
ID code1 code2
1 a ...
January 9, 2015 at 10:29 pm
Got it printed in a folder along with your's (about three years back) and Phil Factor's last years RBARR / RBAR-RAND one;-)
😎
January 9, 2015 at 1:05 pm
Jeff Moden (1/9/2015)
January 9, 2015 at 12:46 pm
JP10 (1/9/2015)
Now I want to be able to create an "update" statement like "UPATE tbl2...
January 9, 2015 at 12:10 pm
Viewing 15 posts - 6,301 through 6,315 (of 8,761 total)