Viewing 15 posts - 1,456 through 1,470 (of 3,011 total)
Lynn Pettis (3/23/2010)
Actually there are still a good number of current Dungeons and Dragons players out here. Why not call it a "Guild"? Other professions have Guilds, why...
March 23, 2010 at 10:01 am
You can create a FK that references a column that has a unique constraint that is not the primary key. If the Code column in TaxTable is unique and...
March 23, 2010 at 9:41 am
TravisDBA (3/23/2010)
Michael Valentine Jones (3/23/2010)
March 23, 2010 at 9:28 am
I wouldn’t go as far as to say that certifications are worthless, but I personally give them no weight at all when I look at a resume.
I just look at...
March 23, 2010 at 9:04 am
What is "marel"?
Also, there is no way I am going to open an XLS file posted on the web.
If you want help, post SQL create table statments and statements to...
March 22, 2010 at 2:03 pm
...did you know that the following will compile just fine and it'll work as well?...
Yes
March 22, 2010 at 1:18 pm
If it is really a primary key, then you would not use the DROP INDEX statement.
You would use ALTER TABLE tablename DROP CONSTRAINT constraint_name
March 22, 2010 at 1:14 pm
Jeff Moden (3/22/2010)
March 22, 2010 at 12:34 pm
Hide the update in an execute statement:
if not exists (select * from syscolumns
where id=object_id('Calendar') and name='RDATE')
BEGIN
ALTER TABLE Calendar add RDATE DATETIME
exec ('UPDATE calendar set RDATE = DATE + 36163')
END
ELSE
BEGIN
PRINT 'ALREADY...
March 17, 2010 at 12:52 pm
CirquedeSQLeil (3/17/2010)
whug (3/17/2010)
I like the story, its a good example of how we SQL junkies get it done.I would have refused the work. ...
The art of saying NO:
I would...
March 17, 2010 at 12:20 pm
This script will give you a breakdown of the space usage of all tables in a database.
Script to analyze table space usage
March 12, 2010 at 9:13 am
Paul White (3/11/2010)
CASE seems like a lot more work...? 😎
CASE certainly is more work, especially when you are looking at more than 4 columns.
However, it may be faster if performance...
March 11, 2010 at 10:48 am
Hunterwood (3/11/2010)
DECLARE @Sample
TABLE (
account INTEGER NOT NULL,
...
March 11, 2010 at 8:47 am
DRI should be the default, without some overwhelming reason not to use it,
And by “overwhelming reason”, I don’t mean that the developers were too lazy to bother, didn't know...
March 11, 2010 at 8:11 am
The scripts on the link below demos two methods for doing this.
MIN/MAX Across Multiple Columns
March 11, 2010 at 7:35 am
Viewing 15 posts - 1,456 through 1,470 (of 3,011 total)