Viewing 15 posts - 496 through 510 (of 5,356 total)
Depending on which string data type you use, have a look here:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=153641
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 7:40 am
Doh, I thought he was after dynamically switching db context... ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 5:48 am
You need to use sp_executeSQL with an output parameter @ApplicID in order to reuse it after the dynamic stuff has finished. EXEC won't give you that functionality. So, something along...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 5:11 am
Not only this, but AFAIK you can use the IDENTITY function only in conjunction with SELECT INTO. And SELECT INTO used in a proc will cause a recompile which might...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 5:06 am
I might be wrong, but I think you're after this
USE NORTHWIND
SELECT
OD1.UnitPrice
FROM
[Order Details] AS OD1
INNER JOIN
[Order Details] AS OD2
ON
OD1.UnitPrice <= OD2.UnitPrice
GROUP BY
OD1.UnitPrice
HAVING COUNT(DISTINCT OD2.UnitPrice) = 2
UnitPrice ...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 4:11 am
(or should I say "finger spitsen gefuhl for you?).
Hehe, sounds good. I like your country and its emphasize of the social and family component. Something we can learn very much...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 2:36 am
http://www.databasedesign-resource.com/
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 2:03 am
Now this is almost a FAQ here and in all other communities.
I like the idea of narrowing down the certification to specific areas, but then again, how will you...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 1:34 am
I would be lying if I say I have a clue what's going on here. I would carefully watch this issue, watch the...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 1:20 am
I've downloaded the code and drop you a private mail when I had a look at it. In the meantime, like Phill said, there are many places you can add...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 1:09 am
Even the idea that I want to scare anyone off this board is pathetically hilarious! I'm not even going to comment on this thought
:
If...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 20, 2005 at 12:59 am
While there is many truth in here, it takes a technically skilled person to judge the answers, methinks. You cannot see inside a...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 19, 2005 at 2:15 pm
And changes to the table or the app recently?
Stupid question, but you have verified that it is still DECIMAL(9,2) and nothing else? ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 19, 2005 at 2:05 pm
What will this be used for? Do you need to store such data in your tables or is this for presentation purposes? Keep in mind that you sooner or later...
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 19, 2005 at 1:56 pm
Aargh, okay, I was a little bit imprecise. I had the example in mind that you can find under IDENT_CURRENT.
Btw, what is IDENT_INDENT? ![]()
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
April 19, 2005 at 1:48 pm
Viewing 15 posts - 496 through 510 (of 5,356 total)