Viewing 15 posts - 331 through 345 (of 14,953 total)
Here's one way to do it in T-SQL:
DECLARE @String VARCHAR(8000) = 'ABC12D34E56';
WITH Seeds(Seed)
AS (SELECT ...
December 18, 2012 at 7:35 am
Glad it worked out.
Often, all it takes is approaching the problem from a slightly different direction.
December 18, 2012 at 7:19 am
ScottPletcher (12/13/2012)
ScottPletcher (12/12/2012)
CELKO (12/11/2012)
December 18, 2012 at 7:18 am
CELKO (12/17/2012)
As to "portable", that really is a myth. There are so many custom approaches in each variant of SQL you can never port anything easily.
Then how I...
December 18, 2012 at 7:09 am
Adi Cohn-120898 (12/17/2012)
December 18, 2012 at 6:47 am
skpanuganti (12/17/2012)
Seriously? You really think it's just fine to open zip files on the internet? Ones that you don't personally know were verified clean before they were posted?
This...
December 18, 2012 at 6:26 am
You should be able to get Drop and Create scripts for the views that way, without it affecting the tables.
If at all concerned about data loss, take a copy of...
December 17, 2012 at 1:26 pm
Adi Cohn-120898 (12/17/2012)
December 17, 2012 at 1:23 pm
That has nothing to do with the SARGability of the query.
That's SQL Server avoiding key lookups.
Two completely different things.
December 17, 2012 at 12:25 pm
First, figure out if you need the extra money, or want the extra money. There's a big difference between need and want.
If you need the extra money, then the...
December 17, 2012 at 12:16 pm
Seriously? You really think it's just fine to open zip files on the internet? Ones that you don't personally know were verified clean before they were posted?
This isn't...
December 17, 2012 at 11:50 am
Strings are just numbers to computers. Without metadata in the storage, they're no different than any other data.
You wouldn't need to loop through a string to find whether it...
December 17, 2012 at 10:30 am
Hate to say it, but this is the Internet. No way I'm opening an unknown file from an unknown source. I seriously hope nobody is dumb enough to...
December 17, 2012 at 9:57 am
Don't set up SQL agent to be cluster aware, and set it up with manual startup or disabled.
I'm not sure why you'd want it this way, but it will work.
December 17, 2012 at 9:52 am
How about something like this:
SET NOCOUNT ON;
USE ProofOfConcept;
GO
IF OBJECT_ID(N'dbo.Periods') IS NOT NULL
DROP TABLE dbo.Periods;
GO
CREATE TABLE dbo.Periods
(Period INT PRIMARY KEY);
GO
INSERT INTO...
December 17, 2012 at 9:51 am
Viewing 15 posts - 331 through 345 (of 14,953 total)