Viewing 15 posts - 1,276 through 1,290 (of 5,356 total)
cant i use my method of querying? after removing the time value the date field will be left only with datevalue so this query should work?
Sorry for the confusion. Sure,...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 7:32 am
Jumped the gun
Interesting phrase with a suprising translation. Did know this one, but surely will keep it in mind when I jump the gun next time. Thanks! 
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 7:23 am
okay,okay... I don't want to be branded as troublemaker.
![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 7:09 am
But what when you have data like A2 or the like? This should also be taken into account.
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 6:55 am
Same execution plan, Dave! The optimizer is bright enough to figure this out. Damn, can't remember where I saw a neat, handy solution for this (apart from doing this at...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 6:53 am
See, if this helps:
http://www.sommarskog.se/arrays-in-sql.html
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 6:24 am
Now, if I understand you right, why do you CONVERT at all? Can't you simply change the input parameter datatypes to DATETIME?
If the table has a DATETIME column, and you...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 5:13 am
See, if this helps:
set nocount on
create table #rt
(
c1 int identity
, c2 int
)
insert into #rt values (1)
insert into #rt values (2)
insert into #rt values (3)
insert into #rt values (4)
insert into #rt...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 4:48 am
![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 4:25 am
SELECT
*
FROM
sysindexes i
WHERE
i.indid BETWEEN 1 AND 254
/* Each table can have up to this number of indexes, including the clustered index (indid=1 and some special...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 4:02 am
Oops, sorry, I'm that much used to something like this
.Parameters.Append .CreateParameter("@sql", adVarChar, adParamInput, 4000)
that I didn't see that you used the numeric equivalent. Sorry, if that has lead to confusion. --
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 7, 2005 at 3:47 am
Pretty much self-describing
cmd.Parameters.Append (cmd.CreateParameter ("@monthselected", 17, 1, 0, monthSelected )) is missing OUTPUT.
![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 6, 2005 at 2:30 pm
Good luck on your search!

--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 6, 2005 at 2:24 pm
Do a search on the Google groups on that. I remember seeing that question there recently, but can't find the link right now. IIRC, someone from MS responded there.
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 6, 2005 at 2:19 pm
Sorry, I really, really don't want to sound offending, but don't you think you can find this out yourself? Is this for some kind of exam or homework?

--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
January 6, 2005 at 2:15 pm
Viewing 15 posts - 1,276 through 1,290 (of 5,356 total)