Viewing 15 posts - 721 through 735 (of 3,957 total)
BrainDonor (3/3/2014)
SQL Bits XII has finally been announced http://www.sqlbits.com/.
Shouldn't that be SQL Bits 1100 or something?
March 3, 2014 at 2:47 am
Thanks for reading it Wayne. Comments from a master such as yourself are always most welcome.
BTW. I think we're tied again on article count. 😀
March 3, 2014 at 1:18 am
DiabloZA (3/3/2014)
Wonderful !!You are awesome Dwaine 🙂
Thank you,
You're welcome. No e in my name though. 😀
March 3, 2014 at 12:23 am
Strange. I would have thought something like this would be faster:
CREATE FUNCTION [dbo].[RemoveUnmatchedPatterns]
(
@Str VARCHAR(8000)
...
March 2, 2014 at 7:11 pm
Roy.G.Biv (2/27/2014)
March 2, 2014 at 6:26 pm
If you've got a Calendar table you can use it but I've constructed one in line to solve this:
WITH SampleData (PERSON, [DATE], [PAYCODE],[HOLIDATE]) AS
(
-- First employee...
March 2, 2014 at 6:17 pm
You probably need something like this:
WITH ConsolidatedTables AS
(
SELECT prefix, rate, T='data1'
FROM dbo.data1
UNION ALL
SELECT prefix,...
March 2, 2014 at 5:11 pm
David Webb-CDS (2/26/2014)
alter PROCEDURE dbo.Test
(
--@Dt DATETIME = '20140201'
...
February 26, 2014 at 6:10 pm
Something like this?
CREATE TABLE #MTRANS
([MTRANS_ID] int IDENTITY (1, 1) NOT NULL,
[MBatch] int NULL,
[MStatus] ...
February 26, 2014 at 5:50 pm
I believe that default values must be literal constants and cannot include built-in functions.
This fails also:
CREATE PROCEDURE dbo.Test
(
@Dt DATETIME = GETDATE()
--,@tab VARCHAR(1)...
February 26, 2014 at 5:31 pm
andrew gothard (2/26/2014)
dwain.c (2/26/2014)
kenneth.mofokeng (2/26/2014)
I don't have clean backup. For some reason, my customer stopped weekly backup and the last backup is several month ago
Since you don't have backup...
February 26, 2014 at 5:22 pm
Sean Lange (2/26/2014)
I made a slight modification to Dwain's that worked well for my purposes.
Can't say I see that much of a resemblance but it is always good to hear...
February 26, 2014 at 5:21 pm
kenneth.mofokeng (2/26/2014)
I don't have clean backup. For some reason, my customer stopped weekly backup and the last backup is several month ago
Since you don't have backup , try to...
February 26, 2014 at 6:23 am
ChrisM@Work (2/26/2014)
Stefan Krzywicki (2/25/2014)
The Dixie Flatline (2/25/2014)
rodjkidd (2/25/2014)
Steve Jones - SSC Editor (2/24/2014)
I went to the Rock and Roll Hall of Fame in Cleveland a few weeks ago. It was...
February 26, 2014 at 1:58 am
As Luis has said, any direct help from this forum is going to need you to provide us DDL, sample data and expected results.
But at a guess, I'd say there...
February 25, 2014 at 5:20 pm
Viewing 15 posts - 721 through 735 (of 3,957 total)