Viewing 15 posts - 2,191 through 2,205 (of 5,394 total)
You could use the linked server trick I used here: http://spaghettidba.com/2011/11/16/discovering-the-output-of-dbcc-commands/
I don't recommend it, though.
January 4, 2012 at 5:14 am
Sort order must be explicitly defined in the ORDER BY clause.
One way to accomplish what you're after could be this:
SELECT *
FROM (
Select 'table1' as SRC, employee,employeename...
January 4, 2012 at 5:08 am
Glenstr (1/3/2012)
January 4, 2012 at 5:00 am
GilaMonster (1/3/2012)
Grant Fritchey (1/3/2012)
January 4, 2012 at 4:38 am
SQL Kiwi (1/3/2012)
Gianluca Sartori (1/3/2012)
January 3, 2012 at 4:28 am
thatishari (1/3/2012)
I am modifying a table which has 6 columns with 1 column as not null. now what i have to do is have to add another column as...
January 3, 2012 at 4:07 am
We're not behind your shoulders and can't see your screen. 😉
Can you post your code (or a meaningful part of it)?
January 3, 2012 at 4:03 am
SQL Kiwi (1/3/2012)
Michael Valentine Jones (12/29/2011)
January 3, 2012 at 3:35 am
SELECT
SUBSTRING(SerialNumber, PATINDEX('% %', SerialNumber) + 1, PATINDEX('%[^0-9 ]%', SerialNumber) - PATINDEX('% %', SerialNumber) -1) AS SerialNumber,
...
January 3, 2012 at 2:41 am
Jeff Moden (1/2/2012)
...Just because a query doesn't work doesn't mean it's unreliable... it just very reliably doesn't work the way you wrote it. 😀
Jeff, you're simply GREAT!
I should print your...
January 3, 2012 at 2:04 am
Which operation?
January 2, 2012 at 4:22 am
As I said before, it's not something on the backup/restore. You must have messed with the backup.
Try taking another backup and restore it with replace: you will see all the...
January 2, 2012 at 3:50 am
I'm sorry, it's unclear to me.
You took a backup, restored with a different name, took another backup, restored with replace and you don't see the records in the first backup...
January 2, 2012 at 3:22 am
I think you all should take a deep breath and consider stop posting to this thread.
If you don't have anything nice to say, don't say anything at all.
You're not...
January 2, 2012 at 2:58 am
There's nothing wrong with COALESCE, it's the assignment in the SELECT list that makes the code unreliable.
Here's a couple of articles on the subject:
http://www.sqlmag.com/article/tsql3/row-concatenation-solutions-aren-t-all-equal
http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/
January 2, 2012 at 2:46 am
Viewing 15 posts - 2,191 through 2,205 (of 5,394 total)