Viewing 15 posts - 436 through 450 (of 2,038 total)
Andrew Ryan (7/9/2009)
I want to use vaariables with my USE commands.USE @DBName
You cannot specify the database name as variable for a USE call.
if I use this the database does...
July 9, 2009 at 2:01 pm
Hi
Just out curiosity, why don't you use a linked server or xp_cmdshell to call sqlcmd?
Here a little sample in C#
using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;
using Microsoft.SqlServer.Server;
public partial class StoredProcedures
{
...
July 9, 2009 at 1:53 pm
I'm really happy that C# does not give the possibility to implement optional parameters. Reason is that optional parameters are not handled by the library providing a method with optional...
July 9, 2009 at 1:47 pm
@paul-2: No, still having the same issue.
@Lynn: Thanks for your effort! It's just strange that FireFox seems to handle Office Live better than IE on a x64 box.
July 9, 2009 at 1:34 pm
Jan Van der Eecken (7/8/2009)
Paul White (7/6/2009)
GSquared (7/6/2009)
Isn't that supposed to be all one word? (Alloneword, even.)
That looks vaguely like German :unsure:
(Flo: consider Donaudampfschiffahrtsgesellschaftskapitän1)
edit: better still:
Donaudampfschifffahrtselektrizitätenhauptbetriebswerkbauunterbeamtengesellschaft2
or
Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz3
(Ok so I googled)
1:...
July 9, 2009 at 1:31 pm
@Barry: Good to see you're back and nice new avatar!
@Lynn: Congratulation to >8000!
@paul-2: Congratulation to >1000, didn't see this before, now you can call your self a guru :-D. Your...
July 3, 2009 at 3:14 am
GilaMonster (7/2/2009)
Florian Reischl (7/2/2009)
Lynn Pettis (7/2/2009)
I realize the OP didn't really provide everything that we really need to help, but this actually answers the OP's question?? :sick:
Smells like a cross...
July 2, 2009 at 12:18 pm
Lynn Pettis (7/2/2009)
I realize the OP didn't really provide everything that we really need to help, but this actually answers the OP's question?? :sick:
Smells like a cross post:
http://www.sqlservercentral.com/Forums/Topic746129-338-1.aspx
July 2, 2009 at 12:05 pm
David Webb (7/2/2009)
Isn't this the same problem you were working with here:('http://www.sqlservercentral.com/Forums/FindPost745975.aspx')
?
Good catch David! I left a note in the other therad.
July 2, 2009 at 12:04 pm
Seems like Eswin and alex_pangcats are in same class:
http://www.sqlservercentral.com/Forums/Topic746129-338-1.aspx
July 2, 2009 at 12:03 pm
Hi mick
please have a look to t.hitendra's snippet. You need to fill your variables inside your dynamic SQL and declare them as output parameter by calling "sp_executesql"
Notice the bold text:
EXEC...
July 2, 2009 at 6:45 am
Here are two really good articles about cross tab queries:
July 2, 2009 at 6:36 am
Lynn Pettis (7/1/2009)
May have said please, but what an attitude.
ASAP always reminds my of my project manager. He came many many times with some completely new tasks which had to...
July 1, 2009 at 5:35 pm
Should be possible with DENSE_RANK within a CROSS APPLY but...
First:
Your sample data contain:
101656 05/05/09 5' 6.5" 66.50
101656 05/05/09
101656 05/05/09 5' 5.75" 65.75
101656 05/12/09
101656 05/27/09
There is no uniqueness for date...
July 1, 2009 at 5:25 pm
Seems to be problematic. You would the XPath function "base-uri()" which is currently (until SQL Server 2008) not supported for T-SQL XQuery.
Here is a Microsoft link which confirms this:
http://msdn.microsoft.com/en-us/library/ms345122(SQL.90).aspx
July 1, 2009 at 5:02 pm
Viewing 15 posts - 436 through 450 (of 2,038 total)