Viewing 15 posts - 6,376 through 6,390 (of 14,953 total)
Cast() doesn't do styles. You're right about that.
October 27, 2010 at 6:12 am
Not directly.
Where does the value come from when you aren't hard-coding it into a sample for this forum?
October 26, 2010 at 2:59 pm
Good on solving it. Make sure that higher ups in the business/organization know that this is NOT how it should work. You shouldn't be designing a bizare database...
October 26, 2010 at 2:57 pm
You can probably use Insert...Execute. Just have the Execute(@SQL) statement where you would normally put a Values or Select statement. I know it works with procs, and I...
October 26, 2010 at 2:56 pm
Wouldn't the Max() operator get you what you need?
October 26, 2010 at 12:19 pm
Stefan Krzywicki (10/26/2010)
Was I not polite enough in my request for clarification on several of Mr. Celko's points? I know I've seen him return to...
October 26, 2010 at 12:10 pm
My issue with defining it as "two and only two" tables, is that it moves SQL away from its declarative model and into a procedural model. Tell the computer...
October 26, 2010 at 11:58 am
Change the Outers to Inners on the join and apply, see if that does what you need.
October 26, 2010 at 11:50 am
da-zero (10/26/2010)
GSquared (10/26/2010)
da-zero (10/26/2010)
If you really want to keep your % sign, then you'll have to import it as strings.
Bad idea!
First, you won't be able to query it mathematically. ...
October 26, 2010 at 11:47 am
Trey Staker (10/26/2010)
@Gail, how's that difficult contract going?Today's Dilbert made me think of it: ...
I had the same thought.
October 26, 2010 at 11:44 am
Replace "select *" with your update statement, and you'll have valid T-SQL. Wrap it in a transaction, use the Output clause to test it, and roll it back. ...
October 26, 2010 at 11:42 am
Can a position have more than one person assigned to it? It sounds like they can't.
If not, add a PersonID to the Positions table, and get rid of the...
October 26, 2010 at 11:37 am
A database in Bulk Logged mode probably has some bulk ETL processes in it. The next log backup after the bulk load has to include the data from the...
October 26, 2010 at 8:33 am
The error is meaningless without the query. Can't help without that.
October 26, 2010 at 8:31 am
I've read in so many places over the web that a "join is a relationship between two and only two tables". Is this correct?
Nope. Incorrect. A join...
October 26, 2010 at 8:30 am
Viewing 15 posts - 6,376 through 6,390 (of 14,953 total)