Viewing 15 posts - 8,086 through 8,100 (of 26,490 total)
bagofbirds-767347 (4/9/2013)
April 9, 2013 at 12:10 pm
Create an empty database and run the following:
--===== Conditionally drop the test table to make reruns in SSMS easier.
IF OBJECT_ID('tempdb..#TestTable','U') IS NOT NULL
...
April 9, 2013 at 11:49 am
To what granularity are you trying to exclude weekends?
April 9, 2013 at 10:25 am
rarascon (4/9/2013)
April 9, 2013 at 10:12 am
Steven Willis (4/8/2013)
Lynn Pettis (4/8/2013)
Steven Willis (4/8/2013)
April 8, 2013 at 8:45 pm
jrestuccio (4/8/2013)
Here you go, I tried to include all relevant information.Again thanks for helping!
-Josh
Nope, not what I'd want to see. I'd want to see the following:
1) DDL for the...
April 8, 2013 at 6:59 pm
Post ALL your code, dynamic sql and the sql used to call it.
April 8, 2013 at 6:54 pm
Steven Willis (4/8/2013)
April 8, 2013 at 6:52 pm
SQLWannabe (4/8/2013)
Lowell, I've read several posts where people keep saying stuff like, "If...
April 8, 2013 at 3:20 pm
Still unclear. Since all changes to a database are logged, the transaction log is going to grow if there is insufficient space to hold the active transactions.
April 8, 2013 at 3:02 pm
Have to agree, need DDL, sample data, and expected results.
April 8, 2013 at 2:46 pm
Care to elaborate? Your question is vague and open to many answers.
April 8, 2013 at 2:45 pm
Can you post the code for your stored procedure and the scalar function?
April 8, 2013 at 1:22 pm
Something like this:
CREATE TABLE [dbo].[Products](
[ProductDesc] [varchar](200) NULL
)
INSERT INTO Products(ProductDesc) SELECT 'WidgetA'
INSERT INTO Products(ProductDesc) SELECT 'WidgetB'
INSERT INTO Products(ProductDesc) SELECT 'WidgetC'
INSERT INTO Products(ProductDesc) SELECT 'WidgetD'
INSERT INTO Products(ProductDesc) SELECT 'WidgetE'
CREATE TABLE [dbo].[Exceptions](
[ProductDesc]...
April 8, 2013 at 12:35 pm
If what you are looking for is Current month (say 2013-04) and next month (2013-05), the following will work (it will also work if currrent month is 2013-12 and next...
April 8, 2013 at 9:58 am
Viewing 15 posts - 8,086 through 8,100 (of 26,490 total)