Viewing 15 posts - 3,871 through 3,885 (of 5,504 total)
scziege (3/30/2010)
...Another pain is the creation of new codes
we have a stored procedure which checks if a code exists and if not it will be inserted. ...
I truly hope the...
April 2, 2010 at 4:32 am
Something like this?
CREATE TABLE #TableA ( id INT,columnA VARCHAR(200))
INSERT INTO #TableA
SELECT 1,'here is my phone number 12345678. but my cell is 44444444.' UNION ALL
SELECT 2,'987654321 is my balance' UNION ALL
SELECT...
April 2, 2010 at 4:07 am
Here's what I came up with.
The solution will display the first 6 followups. I added a note what to change if more followups are required.
Once you've studied the concept and...
April 1, 2010 at 12:08 pm
orca (4/1/2010)
April 1, 2010 at 11:18 am
Please provide sample data that will describe the scenario you're strugglnig with.
Based on your vague description it is unclear whether you would have missing rows in #customers for a specific...
April 1, 2010 at 10:59 am
Judy-363345 (4/1/2010)
lmu92 (4/1/2010)
SELECT UID, ReferenceNumber, TYPE
FROM #tbl myTable
WHERE ReferenceNumber NOT LIKE 'TR%'
AND EXISTS (SELECT 1 FROM #tbl myTable2 WHERE TYPE = 1...
April 1, 2010 at 10:51 am
Did you try the solution I posted earlier?
SELECT UID, ReferenceNumber, TYPE
FROM #tbl myTable
WHERE ReferenceNumber NOT LIKE 'TR%'
AND EXISTS (SELECT 1 FROM #tbl myTable2 WHERE TYPE = 1 AND myTable.uid...
April 1, 2010 at 8:14 am
You could use the following line to find the rows with bad data format:
SELECT * FROM YourTable WHERE ISDATE(yourColumn) = 0
April 1, 2010 at 5:29 am
IIRC DBCC TIMEWARP has 137 parameter plus 256 optional parameter.
Or will that be in the futures / was it in the past / will it be in the past? :w00t:
If...
April 1, 2010 at 5:07 am
Your WHERE condition is transformed into:
WHERE
(CardORKey='Key')
OR
(
CardORKey='Both'
AND
( LastName = @LastName
...
March 31, 2010 at 2:56 pm
I'm not sure if I'm totally wrong, but isn't that WHERE condition identical to WHERE ReferenceNumber NOT LIKE 'TR%' ?
Reason:
With your first subquery you include all UIDs with Type =...
March 31, 2010 at 2:41 pm
CirquedeSQLeil (3/31/2010)
lmu92 (3/31/2010)
6 - how operators would move?
The answer would depend on too many things, e.g.
How much money is...
March 31, 2010 at 1:36 pm
I think question #6 cannot be answered on this forum at all:
6 - how operators would move?
The answer would depend on too many things, e.g.
How much money is offered to...
March 31, 2010 at 1:09 pm
Did you try to find a solution in BOL (BooksOnLine, the SQL Server help system usually installed together with SQL Server)?
You might find a solution in section "XML Bulk...
March 31, 2010 at 12:49 pm
But it's a while back since I've last seen a LMGTFY link...
Seems like we're kinda learning search engine.
How does a search engine express it's/his/her feelings anyway?
March 31, 2010 at 12:31 pm
Viewing 15 posts - 3,871 through 3,885 (of 5,504 total)