Viewing 15 posts - 1,396 through 1,410 (of 1,988 total)
Ed Wagner (4/6/2016)
djj (4/6/2016)
Grumpy DBA (4/6/2016)
Revenant (4/6/2016)
MorganFairchild
Unfair
Politicians
Card
April 6, 2016 at 1:52 pm
Try this,
REPLACE(value COLLATE Latin1_General_Bin, 'X', '/')
April 6, 2016 at 1:48 pm
Rod that entirely depends on your situation, if you have no particularly important ties to where you are and the ability to live without income for awhile it's definitely worth...
April 6, 2016 at 1:07 pm
Grumpy DBA (4/5/2016)
Ed Wagner (4/5/2016)
SunriseSunset
Pegasus
April 5, 2016 at 8:01 am
p.shabbir (4/5/2016)
Thnx Gail,So, finally no use of creating nonclustered index on clustered indexed column since there will be diff in milliseconds for both indexes right?
Just to clarify, are you referring...
April 5, 2016 at 7:57 am
GPO (4/4/2016)
If an application is that badly coded there's little you can do on the database side to fix it.
I would have thought that's one reason why you put constraints...
April 4, 2016 at 9:32 pm
GPO (4/4/2016)
On the other hand if SQL is the system of record they do not and are a very handy tool to use.
We're talking about two different kinds of unique....
April 4, 2016 at 7:00 pm
GPO (4/4/2016)
there are perfectly valid reasons to do this, for example order numbers
Well... kinda. I don't think I explained myself very well. My apologies. Incrementing integers CAUSE uniqueness. They don't...
April 4, 2016 at 5:41 pm
crookj (4/4/2016)
ThomasRushton (4/4/2016)
crookj (4/4/2016)
Ed Wagner (4/4/2016)
Grumpy DBA (4/4/2016)
DonlSimpson (4/4/2016)
RedsoxWhiteSox
Cubs
Skysox
SmellySocks
Deadsox (All zombie team)
Mutant
April 4, 2016 at 10:19 am
SQL_Surfer (4/4/2016)
Price will never overlap.
Then that's relatively simple,
SELECT * FROM #temp WHERE ValidFrom IS NULL OR (ValidFrom >= getdate() AND (ValidTo IS NULL OR ValidTo <= getdate()))
That's assuming that...
April 4, 2016 at 10:17 am
:exclamationmark: Using incrementing integers to cause uniqueness, instead of using an understanding of the business and constraints to enforce uniqueness.
In all fairness there are perfectly valid reasons to do this,...
April 4, 2016 at 9:42 am
sp_executesql should be able to handle a NVARCHAR(MAX) so that shouldn't be the issue, it's likely one(or more) of the values you're trying to use to generate the sql has...
March 29, 2016 at 8:58 am
Can you try running it with simpler metadata in the table it's building the dynamic SQL from? If possible only 1 return row, that should make it easier to...
March 29, 2016 at 8:28 am
There's some pretty basic rules for formatting that I use that I guess I'm just so used to they don't add any overhead what I'm doing. But simple things...
March 29, 2016 at 7:52 am
Viewing 15 posts - 1,396 through 1,410 (of 1,988 total)