Viewing 15 posts - 5,566 through 5,580 (of 14,953 total)
wilburb (12/28/2010)
December 28, 2010 at 1:05 pm
Not sure who you mean by "Crazy 8", but I'm going to hazard a guess you mean me, since that's my current "title" for this page. (It says, "SSCrazy...
December 28, 2010 at 12:43 pm
Parthi:
That will generate negative hours if it's after noon. For example, 2 PM will end up as -2 PM. Not sure that's what you want.
Also, that kind of...
December 28, 2010 at 12:38 pm
A design that contains a simple table to define what types of work a person/entity can do will be very easy to build and manage. Then use that to...
December 28, 2010 at 12:10 pm
I think for SQL 2000, I'd do it with a loop. This is pretty much what the ranking functions and Apply were added to SQL 2005 to solve.
December 28, 2010 at 12:04 pm
I'm not sure what exactly you're looking for here. If you just want to replace the string with a column in a table, just do that.
If you want a...
December 28, 2010 at 12:01 pm
You're welcome.
Database schema are similar to XML schemas, in that they define the data that will be held. The difference is, in a relational database, the "schema" IS the...
December 28, 2010 at 11:53 am
Please take a look at these articles on this subject: http://www.sqlservercentral.com/articles/Auditing/63247/ and http://www.sqlservercentral.com/articles/Auditing/63248/
There are examples there of efficient ways to log data changes. The discussions on them have a...
December 28, 2010 at 11:49 am
Keep in mind that CDC locks down table definitions the same way replication does. This means you cannot alter or remove columns without turning off CDC in some cases....
December 28, 2010 at 11:46 am
Are you building a dynamic SQL query? It looks like it. If so, then the datetime variable may not be properly enclosed in single-quotes.
If that's not the situation,...
December 28, 2010 at 11:44 am
You might be able to get what you want with Pivot/Unpivot.
It looks like you're heading down the "one true lookup table" path. Keep in mind that those always appear...
December 28, 2010 at 11:37 am
I wrote a couple of articles on that subject. They're here: http://www.sqlservercentral.com/articles/Auditing/63247/ and http://www.sqlservercentral.com/articles/Auditing/63248/.
If you read them, make sure to read the discussions as well. There's a lot...
December 28, 2010 at 11:32 am
That is a schema design for the database. Well, it's the outline of one (logical design).
schema
Definition
sche·ma[ sk?m? ]
sche·ma·ta Plural
NOUN
1. diagram: a diagram or plan showing the...
December 28, 2010 at 8:33 am
Richard Weissler (12/28/2010)
I...
December 28, 2010 at 8:26 am
CirquedeSQLeil (12/28/2010)
December 28, 2010 at 8:25 am
Viewing 15 posts - 5,566 through 5,580 (of 14,953 total)