Viewing 15 posts - 346 through 360 (of 549 total)
Give this a read (using xp_cmdshell and CURL)
Getting Stuff Into SQL Server (his sample retrieved Bank of Canada exchange rate online as .csv and import into SQL)
http://www.simple-talk.com/community/blogs/philfactor/archive/2006/01/20/158.aspx
November 3, 2008 at 8:08 am
You probably have a NULL in the bname
select @booknames =coalesce(@booknames+',','')+COALESCE(b_name,'') from historical.books
November 3, 2008 at 8:03 am
I can think of 2 ways
1.Combine all 5 packages into 1 big package, with Control & Data Flow
and you do the validation between the flows
2. in SQL Agent, add a...
November 3, 2008 at 8:01 am
Could it be a security enhancement in Windows 2008? to lock everything down by default?
SQL 2008 (which intends to work with Windows 2008) has removed the Surface Area configuration
That's why...
November 3, 2008 at 7:58 am
Awesome, REVERT worked (and another new command learned)
Thanks, RBarry
EXECUTE AS USER = 'wglnapp'
EXEC Grant_Test_Proc -- fired the trigger
GO
REVERT;
DROP PROCEDURE Grant_Test_Proc -- success
GO
October 31, 2008 at 12:38 pm
Thanks SSC and guys for the code, copy-and-paste worked
Did some testing code as well
No trigger
DISABLE TRIGGER Create_SP_Trigger ON DATABASE
GO
CREATE PROCEDURE Grant_Test_Proc
AS
PRINT 'should have triggered the trigger'
GO
EXECUTE AS USER = 'wglnapp'
EXEC...
October 31, 2008 at 12:25 pm
Happy Halloween to everyone
Happy Birthday to myself 😀
October 31, 2008 at 9:18 am
That is what you want
"New SQl Server stand-alone installation or add features to an existing installation".
Just "only" pick the client tools during the NEW stand-alone installation
October 31, 2008 at 9:09 am
great tips, thanks rbarryyoung
October 31, 2008 at 9:07 am
Freaky, I just posted this yesterday
http://sqlservernewbie.blogspot.com/2008/10/how-to-convert-date-from-seconds-to.html
Apparently Unix timestamp range only from 1970 Jan 1 to 2038-01-19 at 3:14:08 AM
October 30, 2008 at 1:21 pm
I always just the run the SETUP.exe in the Root directory
Just mounted my ISO, there is a SETUP.exe in there
Then follow the on-screen wizard, go to the Installation tab, and...
October 30, 2008 at 1:18 pm
Interesting, but you can get by with the JOIN
Tested on SQL 2008 AdventureWorks2008, should work on 2005 as well
USE AdventureWorks2008
SELECT * FROM Person.Person
WHERE FirstName IN ('Jean')
COLLATE Latin1_General_CS_AS -- Incorrect syntax...
October 30, 2008 at 12:51 pm
My vote is SQL 2008 on Windows 2008
License costs probably around the same, but you get more from SQL2008 (not necessarily always faster though, judging from Brent's upgrade story[/url] at...
October 30, 2008 at 8:19 am
Books Online
http://msdn.microsoft.com/en-us/library/aa258803.aspx
Understanding Logical Scan Fragmentation and Extent Scan Fragmentation values.
Logical Scan Fragmentation and, to a lesser extent, Extent Scan Fragmentation values give the best indication of a table's fragmentation level....
October 30, 2008 at 8:14 am
depnumber=1 seems to limit the outputs
but I think the purpose was to only show UNIQUE tables (example below should only show BillOfMaterials and Product)
In AdventureWorks2008 (on SQL2008)
SELECT DISTINCT
o.id, o.name...
October 30, 2008 at 8:08 am
Viewing 15 posts - 346 through 360 (of 549 total)