Viewing 15 posts - 46 through 60 (of 529 total)
That means that your original IF statement is the most performing if you rarely execute the SP using a value in your variable.
Which is one of the reasons the 'Switching'...
April 28, 2008 at 6:56 am
Jeff Moden (4/20/2008)
Are the columns defined as CHAR() instead of VARCHAR()? Depending on system settings, that could be the problem.
I think Jeff might have been talking about the SET...
April 28, 2008 at 6:37 am
GilaMonster (4/18/2008)In SQL 2008, you'll be able to use the query governer to limit resource usage by ad-hoc queries. In SQL 2005 that's not possible. The only way to prevent...
April 28, 2008 at 6:27 am
If possible I would go about adding a new column with EndDate which you would update every time there is a new record inserted (typical OLAP approach). It's better for...
April 25, 2008 at 4:52 am
Have you checked the duration of your kerberos tickets? Can they be expiring to quickly?
April 25, 2008 at 3:55 am
Rajan John (4/24/2008)
nope. The size column of the sysfiles table of each database will give u the current size (in pages). sysaltfiles givesyou the initial values.
Are you sure? Have you...
April 24, 2008 at 4:02 am
Thanks Philip,
Exactly what I was looking for!
Regards,
Hanslindgren
April 23, 2008 at 6:15 am
Yes, they are user databases.
I know about the attach/detach process but I wanted to know if anyone knows how to change the primary file. The DBs are all online 24/7...
April 22, 2008 at 9:28 am
Rajan John (4/18/2008)
Check the "size" value in master..sysaltfiles (sql2k) or sys.sysaltfiles (sql2k5)
Correct me if I'm wrong, but isn't this the current size?
April 21, 2008 at 2:00 am
Because of company policy we have to empty this drive and this includes removing (or moving away) any DB files on it. I have three primary files left on it...
April 21, 2008 at 1:23 am
Thanks, yes. BOL is usually a good source of wisdom!
But under Remarks:
Use DBCC SHRINKFILE to reduce the size of a file to smaller than its originally created size. The minimum...
April 18, 2008 at 1:53 am
Hi,
anyone heard any rumors about a release date yet?
Hanslindgren
April 15, 2008 at 3:52 am
Sounds only like you have a problem of parsing your query. Ensure that the syntax is correct (look especially at the comma characters).
I would start by indenting it 🙂 That...
March 18, 2008 at 10:55 am
Thanx! I will test it as soon as I encounter these packages again.
Hanslindgren
March 18, 2008 at 8:04 am
Viewing 15 posts - 46 through 60 (of 529 total)