Viewing 15 posts - 1,711 through 1,725 (of 5,394 total)
Duplicate post.
March 14, 2012 at 10:31 am
Sean Lange (3/14/2012)
No such thing as SQL Server 2006...but I believe the IN keyword for procedures is from MySql and not SQL Server. 😉
Correct. MySQL uses "IN" to designate input...
March 14, 2012 at 10:20 am
SQLCMD is the command line client for SQL Server.
sp_rename is the stored procedure that renames objects.
March 14, 2012 at 10:17 am
thesequel (3/14/2012)
It appears my training book is outdated.
Looks like they made some significant syntax changes from SQL 2006 to SQL 2008.
I will have to find a tutorial...
March 14, 2012 at 10:15 am
This is how I would do it, but I never had to do it actually.
I found this thread that should put you in the right direction.
March 14, 2012 at 10:02 am
I formatted your query and now looks a bit more readable.
PRINT 'Fetching data: ' + cast(getdate() as varchar(88))
DECLARE @filter as varchar(222), @sql as nvarchar(4000)
SET @filter = char(39) + char(39) +...
March 14, 2012 at 9:55 am
50 instances? Are you joking?
I've never heard of anyone hitting the instances limit. :w00t:
50 is the maximum number of inctances you can install on a standalone server. http://msdn.microsoft.com/en-us/library/ms143432.aspx
For clustered instances,...
March 14, 2012 at 8:51 am
L' Eomot Inversé (3/14/2012)
On the security page of the linked server's properties on server A, tell it...
March 14, 2012 at 8:44 am
TheSQLGuru (3/14/2012)
March 14, 2012 at 8:39 am
The system is setup as follows:
Microsoft Server Enterprise 2008 (32-bit)
Service Pack 2
Intel Xeon CPU
E5470 @ 2.23 Ghz...
March 14, 2012 at 7:51 am
If you have enough space in the tempdb drive, you could use SORT_IN_TEMPDB.
Another option is adding temporarily a new data file in the same filegroup in a different drive with...
March 14, 2012 at 7:48 am
I don't know who you're talking about. 😉
No, seriously, you'd better ignore him.
A wise man once told me that the only person in the world you can change is yourself.
March 13, 2012 at 12:55 pm
Actually I solved this 30 minutes ago, but I was trying to figure out whether there was a better way.
SELECT *
FROM swap AS s
WHERE NOT EXISTS (
SELECT 1
FROM swap AS...
March 13, 2012 at 10:15 am
John Chiu (3/13/2012)
March 13, 2012 at 8:53 am
GMail with Outlook has some weird behaviours.
For instance, when you send an email to yourself, you won't find it in the Inbox, but in the "Sent Items" folder only.
The folders/labels...
March 13, 2012 at 7:49 am
Viewing 15 posts - 1,711 through 1,725 (of 5,394 total)