Viewing 15 posts - 1,486 through 1,500 (of 5,356 total)
I have my difficulties with the last book http://www.sqlservercentral.com/columnists/fkalis/reviewofreviewofsqlserver2000administratorscompani.asp
Well, although BOL is a given, it is seldomly used as much as it should be. It is definitely the first...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 4:16 am
Sorry, wasn't aware that you've already replied while I was reading and typing. ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 3:07 am
Not to be combative, but you might want to read about the basics of stored procedures and sql injection BEFORE it hits you. ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 2:56 am
More than one way to skin that cat:
declare @time varchar(10);
set @time= '09:00:00'
SELECT DATEADD(d,DATEDIFF(d,0,getdate()),0)+CAST(@time AS DATETIME)
SELECT CONVERT(DATETIME,CONVERT(CHAR(8),GETDATE(),112))+CAST(@time AS DATETIME)
SELECT CONVERT(CHAR(8),GETDATE(),112)+CAST(@time AS DATETIME)
SELECT CAST(CAST(GETDATE() AS VARCHAR(12)) AS DATETIME)+CAST(@time AS DATETIME)
SELECT CAST(FLOOR(CAST(GETDATE()...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 2:16 am
Just for the records. Did you try the statement you posted as topic subject?
select getdate()-1
------------------------------------------------------
2004-12-13 10:00:34.750
(1 row(s) affected)
![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 2:10 am
If I see this right, you can't use this alias, but rather need to repeat your formulas.
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 2:08 am
Hmpf, too quick...
Wouldn't this do the job?
If( select count(*) from authors)>0
print 'Heureka'
else
print 'damn it'
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 2:05 am
No, none built-in that I'm aware of. Based on your example, what checking should this do?
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 2:04 am
Hm, I would rather use one single filegroup for all tables and indexes and spread this over as much disks as possible. That way you are more likely to get...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 1:55 am
Kenneth and Razvan, do you mind me putting your solutions and their equivalents for use with the German versions along with credit to you , of course, on my site?
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 1:45 am
...but one question remains to be answered.
What has "Carpal tunnel" to do with 4,000 posts? ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 1:34 am
Hehe, I enjoyed this discussion. Now, if I were to develop this from the start, I wouldn't use VB6 anymore. Not sure, if I would use VB.Net. I think I would...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 14, 2004 at 1:32 am
When you compare what is wanted, and what your nice solution produces, are you sure this is correct?
With yours I get:
1 1
2 2
3 1
3 2
4 3
5 1
5 3
6 2
6 3
While...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 13, 2004 at 7:48 am
Typically for this app, I have a form with about 5 or 6 comboboxes, which are dependant on each other. In the Click() event, the value is determined and used...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 13, 2004 at 7:41 am
Dale, what a nice suprise!!!
You've updated your profile pic once again, since I last saw it. I like that. ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 13, 2004 at 7:33 am
Viewing 15 posts - 1,486 through 1,500 (of 5,356 total)