Viewing 15 posts - 46 through 60 (of 66 total)
hm.. reporting database? referential integrity, it may not need. As long as source is valid.
You say rebuilt -- with what method you do use? Drop and recreate...
December 2, 2004 at 2:43 pm
hmm. Books on SQL for Yoda! Clearly demonstrated, you have, to know much more about SQL than Yoda. Lucky I must have been, then, to even understand...
December 2, 2004 at 1:09 pm
store data properly, suggests Yoda. Break out these column into two in your database. Combine them for presentation, trivial to do. Separate them for sorting, much harder...
December 2, 2004 at 12:15 pm
Strong willed, you are. Over 600 years, Yoda has re-written much cursor and dynamic SQL code! Much has Yoda seen, and rarely is dynamic SQL the answer. ...
December 2, 2004 at 12:08 pm
hmm.
A set-based solution, that is not. One insert required per row. One step it is not! Rather X steps! Requirements of data, depends on this...
December 2, 2004 at 12:02 pm
hmmm.
Define a standard "base date", you might, then store times only you can. Hiding the date, a formatting issue it becomes, hmm?
The following constraint, consider it you will:
check (check...
December 2, 2004 at 11:57 am
hmm.
Patient Yoda must be, to present solution a THIRD time, hmm?
http://www.sqlteam.com/item.asp?ItemID=11499
A true jedi uses the proper tools for the job; dynamic sql leads quickly to the dark...
December 2, 2004 at 11:08 am
Joins, conditional they are not!
LEFT OUTER JOINs, you will use. LEFT OUTER JOIN to all tables in questions in 1 single SELECT.
A CASE expression then, you will use,...
December 2, 2004 at 11:05 am
Ignored Yoda again, you have.
I can not teach him.
Patience and attention to detail, he has not. Tried what Yoda suggests? No! The path...
December 2, 2004 at 10:57 am
too much cursors and dynamic sql, Yoda sees. Leads to the darkside, they do.
Simple problem, it is -- do not process each row. A true jedi will have mastered...
December 2, 2004 at 10:54 am
primary key, you have?
Important it is! Without, leads to the dark side.
Yoda will assume it is called "ID" for his example ... more meaningful, Yoda hopes yours is!...
December 2, 2004 at 10:43 am
normalize, you must! solve problems, it will!
A true jedi will not store data in columns in that manner.
Consider Yoda's design:
Table: CityPopulation (primary key of City/AgeGroup)
Columns:
City
AgeGroup
PopulationCount
Query it you will!...
December 2, 2004 at 10:33 am
Determine server's collation, you must.
sp_helpserver -- run it you will ! results, you shall share.
December 2, 2004 at 10:26 am
To determine if a file exists, not a job for a Query!
To return, update or remove data -- a more proper use of T-SQL, hmm?
For what purpose do you desire...
December 2, 2004 at 10:21 am
Ignore Yoda's solution to avoid dynamic SQL, do you?
confident you are in your skills. A confidence that can lead to the dark side!
consider your code:
SET @SQL = 'SELECT JOB_id,...
December 2, 2004 at 10:17 am
Viewing 15 posts - 46 through 60 (of 66 total)