Viewing 15 posts - 4,141 through 4,155 (of 14,953 total)
I'd change that "LIKE" statement to something a little more REGEX-ish.
CREATE TABLE #T (
DT CHAR(10))
INSERT INTO #T (DT)
VALUES ('1/1/11'),('01/01/2011'),('1.1.11'),('1-1-11'),('Bob');
SELECT *
FROM #T
WHERE DT LIKE '%[/.[-]]%[/.[-]]%';
The brackets in the Like statement allow...
June 3, 2011 at 6:53 am
The Dixie Flatline (6/2/2011)
The reason I said use CASE is that you might have cases where the join to T2 succeeds but some other T2.column value is NULL anyway. ...
June 3, 2011 at 6:41 am
mister.magoo (6/2/2011)
Stephen Ward (6/2/2011)
I suppose this update statement isn't an 'all or nothing' situation but if I'm to break it...
June 3, 2011 at 6:39 am
brownghost (6/2/2011)
what about this, i did not see answer for that question?
1. Why are there both 32 and one one called anything = i thing...
June 3, 2011 at 6:22 am
mister.magoo (6/2/2011)
Does PI (3.14159 etc ) which never repeats = 3.141.......
June 3, 2011 at 6:18 am
mister.magoo (6/2/2011)
One is a series of 9s preceeded by a ".", the other is a 1.
You can decide to treat them as...
June 3, 2011 at 6:08 am
mtillman-921105 (6/2/2011)
Regarding epistemology GSquared, what if we're all wrong? I like Nietzsche's take on it better:
The falseness of an opinion is not, for us, any objection to it....
June 2, 2011 at 4:17 pm
Thomas Considine (6/2/2011)
If the routine would return, say, name and datatype for all columns, then that would be enough to pass
to generic table editors, simple display...
June 2, 2011 at 3:10 pm
opc.three (6/2/2011)
LutzM (6/2/2011)
Also, I will start to participate on the site more often. It has always been useful and seems to be very...
June 2, 2011 at 3:05 pm
I'm not sure how I'd do it in SSIS, but in T-SQL, it would look something like:
DECLARE @XML XML = '<INPUT>
<tag name="DUEDATE">1/25/2011</tag>
<tag name="FORMTYPE">Single Family URAR, FNMA 2005 Form 1004</tag>...
June 2, 2011 at 3:02 pm
The first thing I'd do is get a copy of SQL Server Express Edition, and walk through converting the database to SQL Server. Azure is similar enough that it...
June 2, 2011 at 2:48 pm
How accurate do you need it to be, and how big is the total space you are mapping?
If, for example, all of your stores are in one city, then just...
June 2, 2011 at 2:40 pm
Actually, Coalesce or IsNull would probably handle the Case statement logic in this scenario.
June 2, 2011 at 2:27 pm
Well, you can look into Isolation Levels and all that for data on locks and how to deal with them.
But really, since transactions are supposed to be Atomic (ACID), you...
June 2, 2011 at 1:50 pm
toddasd (6/2/2011)
June 2, 2011 at 1:45 pm
Viewing 15 posts - 4,141 through 4,155 (of 14,953 total)