Viewing 15 posts - 10,696 through 10,710 (of 26,489 total)
Start with this:
SELECT
ceiling(DAY(GETDATE()) / 7.),
DATENAME(dw, GETDATE()),
ceiling(DAY('20120731') / 7.),
DATENAME(dw, '20120731');
July 17, 2012 at 11:03 am
Duplicate post, please do not cross post. Post replies here.
July 17, 2012 at 9:18 am
rodjkidd (7/17/2012)
Lynn Pettis (7/17/2012)
Grant Fritchey (7/17/2012)
rodjkidd (7/17/2012)
Good to see you are still communicating fairly normally! I guess 6 sessions in two at SQL in the City just wasn't enough to...
July 17, 2012 at 4:52 am
Grant Fritchey (7/17/2012)
rodjkidd (7/17/2012)
Good to see you are still communicating fairly normally! I guess 6 sessions in two at SQL in the City just wasn't enough to push you over...
July 17, 2012 at 4:25 am
Very good question. Made think a bit as I knew I had read this some where. Glad I remembered correctly!
July 17, 2012 at 4:09 am
As far as I know there is no magic bullet to determine what records are orphaned. You are going to have to do the work as you are the...
July 17, 2012 at 3:32 am
Orphaned data is normally considered children records with no parent records. Easiest way to identify them is to query the child table using a left outer join to the...
July 17, 2012 at 3:04 am
Scott Anderson-466019 (7/17/2012)
So other than that, what could it be that would make the SQL fail?
I know it shouldn't happen but it appears that something is...
July 17, 2012 at 1:39 am
Scott Anderson-466019 (7/17/2012)
1) The stored proc is called on each application load, but the insertion should only run once.
2) Here are the definitions of the 2 user defined types. Don't...
July 17, 2012 at 1:02 am
sufiyan.sarguroh (7/17/2012)
Was just going through this thread. Really interesting.
I have a question though, does this mean that a differential backup contains the changes made in a database from the time...
July 17, 2012 at 1:00 am
Good idea for posting code, test it all in an empty sandbox database. Found a typo in your procedure and you provided a check constraint and FK that wouldn't...
July 17, 2012 at 12:21 am
Also, the following appear to be user defined types of some sort. What are the base type for them (I can't create your table as it is defined).
[dbo].[DPrimaryKey]
[dbo].[DForeignKey]
July 17, 2012 at 12:15 am
How often is the procedure [dbo].[mspResetDayNo] called for each store in a day?
July 17, 2012 at 12:12 am
Let's start fresh. Please post the DDL for the offending table (including the indexes defined), and the code for the entire procedure that is failing. When it errors,...
July 16, 2012 at 11:44 pm
Viewing 15 posts - 10,696 through 10,710 (of 26,489 total)