Viewing 15 posts - 21,916 through 21,930 (of 22,202 total)
Hey Lynda,
We're starting up a PASS Chapter in Southern New England. It's hard work. The only thing that I've found interesting so far is how easy it is to get...
April 16, 2007 at 9:52 am
You can't really get these types of counters directly out of SQL Server 2000. But in 2005, you can reference the dynamic management views such as sys.dm_os_performance_counters. Run the select...
April 16, 2007 at 8:11 am
Yeah, I'd drop the clustered index and make the PK clustered. It's as you said, the leading edge to the PK is the same as the clustered index, so one...
April 16, 2007 at 7:58 am
You basically can't do that.
You can do something like this:
WHERE 1 = CASE
WHEN evaluate something & return 1 or 0
or
WHERE SomeColumn = CASE
WHEN evaluate something THEN some value
You're trying...
April 13, 2007 at 8:45 am
Hey,
Getting a design is usually very dependent on business needs, but you should be able to set up the database to accept any given start & stop time and then...
April 13, 2007 at 8:36 am
Where did you sit? I was in the back corner across from the build server...
April 13, 2007 at 8:07 am
So.... you want what? Advice on Training? Solid Quality Learning has some of the best courses I've ever been to.
Books? The "Inside SQL Server" series is a little advanced, but...
April 13, 2007 at 6:58 am
I love IT. I'm clean, inside, sitting down, no one is shooting at me, nothing is likely to chew one of my appendages off, I'm well (some would say over)...
April 13, 2007 at 6:14 am
This is a bigger topic than the question suggests, but in a nutshell...
You won't be able to manipulate the database of the 3rd party app. Assume that. If it's wrong,...
April 12, 2007 at 12:00 pm
Since the DATEDIFF was done with 'dd', it's assuming differences in day only. If you're also trying to identify differences in time, which I suspect the Access app deals with...
April 12, 2007 at 11:50 am
If you can use identity values, why not use them on the table that you're inserting into?
But, if you can't, you may to look at something like this instead: http://www.sqlmag.com/Article/ArticleID/48165/sql_server_48165.html
If...
April 12, 2007 at 6:23 am
When you say "same database" do you also mean on the same server?
April 12, 2007 at 5:20 am
This is one well documented approach for performance tuning:
http://www.microsoft.com/technet/prodtechnol/sql/bestpractice/performance_tuning_waits_queues.mspx
April 11, 2007 at 11:32 am
Try creating a user defined function that returns your next id and then you can call that function from the select statement.
CREATE Function fn_GetId ()
RETURNS INT
AS
BEGIN
...your code here
...
April 11, 2007 at 10:25 am
Viewing 15 posts - 21,916 through 21,930 (of 22,202 total)