Viewing 15 posts - 6,286 through 6,300 (of 8,753 total)
Thomas Abraham (1/12/2015)
Hugo Kornelis (1/12/2015)
January 12, 2015 at 3:16 pm
Polymorphist (1/9/2015)
Folks i'm dead in the water here - can anyone help at all? Nothing I try works and I have a feeling i'm overlooking something very simple.
Quick thought,...
January 12, 2015 at 2:48 pm
Quick partial solution, missing the handling of negative stock count though.
😎
SELECT w.ItemId
,w.DateID
,w.OpenningWareHouseUnits
,w.FcastSales
,w.GoodsIncoming
,w.TargetRunningStock
, SUM((ISNULL(w.OpenningWareHouseUnits,0) + ISNULL(w.GoodsIncoming,0)) - w.FcastSales) OVER
...
January 12, 2015 at 6:41 am
Quick simple solution, note that the output is not formatted but that's easy
😎
USE tempdb;
GO
SET NOCOUNT ON;
--INVOICE DATA
IF OBJECT_ID('tempdb..#RawData') IS NOT NULL DROP TABLE #RawData;
CREATE TABLE #RawData (Invoice varchar(7), Quantity int,...
January 12, 2015 at 4:13 am
Quick questions, are these assumptions correct?
😎
1) Definition: Territory is a Geographical Area, defined by a collection of Zip Codes, each of which represents either a Geographical or a Pseudo location....
January 12, 2015 at 2:31 am
Slightly simpler solution for SQL Server 2008 and later, produces the same results
😎
declare @pSomeDate as varchar(20) = '04/2011';
SELECT
recid
,weeknumber
,title
...
January 12, 2015 at 12:11 am
chef423 (1/11/2015)
No worries...Ill figure it out on my own then.
If you don't understand the original code then...
January 11, 2015 at 4:11 pm
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
Viewing 15 posts - 6,286 through 6,300 (of 8,753 total)