Viewing 15 posts - 1,156 through 1,170 (of 5,356 total)
Yes, this is also a FAQ! But unless I am mistaken, you need to take care for permissions when you DROP and CREATE. I don't think you need to do...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 7:32 am
Hm, so the guys who just left university, know everything in theory and usually can't get a simple thing straight? What is the entry payment for such a position? On...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 7:28 am
Just found another link:
http://support.microsoft.com/support/kb/articles/q186/1/33.asp&NoWebContent=1
Wrong link. Sorry:
http://support.microsoft.com/default.aspx?scid=kb;en-us;186133
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 7:16 am
If I understand your requirements right, Steve's solution surely works. However, I think on larger tables the use of a temp table might yield better performance.
Actually in the end...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 7:14 am
Hey, no need to worry! SQL Server 2005 will adress this, I think. ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 7:07 am
If a stored procedure is changed via ALTER and not via DROP and CREATE you can not rely on the crdate in sysobjects. In that case i think you have...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 6:23 am
No chance! A DATETIME always contains a DATE *and* a TIME part. See, if this helps:
http://www.karaszi.com/sqlserver/info_datetime.asp
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 6:13 am
I think MS is offering such a tool on their website. Apart from this I know there is a tool called myLittleAdmin. Don't know what they can do, but maybe...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 6:09 am
I think these are all fair questions but not necessarily for Jr. DBAs. Some comments:
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 5:56 am
Aah, see, it's getting heated again ![]()
Anyway...
Next, the space arguments fails because in a properly designed RDBMS, you will enforce a natural key; the...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 19, 2005 at 5:45 am
Well, actually no workbook, but one of the best resources are the Google Groups Archives. Several MVP's have the nice habit to demonstrate good and efficient techniques using the sample...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 18, 2005 at 1:03 pm
Just out of curiosity. Which standings are you talking about?
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 18, 2005 at 12:53 pm
Oh, and I forgot:
SELECT COUNT(*) FROM SomeTable Group By CAST(SomeTable.SomeDate AS INT)
Consider this:
CREATE TABLE #fool_me
(
dt DATETIME
)
INSERT INTO #fool_me VALUES ('20050118 12:00:01.997')
INSERT INTO #fool_me VALUES ('20050119 00:00:59.997')
INSERT INTO #fool_me VALUES ('20050119...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 18, 2005 at 12:44 pm
date is really a float where the decimal part is the time. To convert a date to date only, do this:
This is incorrect! The internal storage format for a...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 18, 2005 at 12:35 pm
This is not a joke question, right? ![]()
This is obviously for a developing DBA, not the administrating one. So, no, I don't...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 18, 2005 at 7:51 am
Viewing 15 posts - 1,156 through 1,170 (of 5,356 total)