Viewing 15 posts - 166 through 180 (of 549 total)
The location window will NOT show Mapped drives as above post said
You have to either
1. use T-SQL to backup to UNC path
BACKUP DATABASE [db] TO DISK = '\\Server\Share\db.bak'
2. Add the...
December 17, 2008 at 2:57 pm
You can also go into SQL Server Agent -> Jobs
Select All (ctrl-A), right-click, "Script Jobs as" -> CREATE TO .... a new Query window (or File)
Then you run the script...
December 17, 2008 at 2:53 pm
A good article today
December 16, 2008 at 11:42 am
I'm using SSMS 2008, it came with a lot of Standard Reports
but if I try to open Custom Report, it looks under "My Documents"
but I am shocked search for *.rdl...
December 16, 2008 at 8:22 am
Interesting, did not know this behaviour, now I know
OP, you could try shorten the column after the replace
Execute sp_help #TestReplace;
Column_nameTypeComputedLength
replacedColumnvarcharno8000
alter table #TestReplace
alter column replacedColumn varchar(500)
Execute sp_help #TestReplace;
Column_nameTypeComputedLength
replacedColumnvarcharno500
December 16, 2008 at 8:18 am
For Linked Server, you can use Impersonate Login or Mapped Login
so for 70-431 exam, they have couple questions
If you want to only give login App1 on Server1 to Server2
You create...
December 16, 2008 at 8:10 am
I am using SSMS 2008 GUI, I see "Start Job at Step..." for both SQL 2008, 2005 SP1, 2005 SP2 servers, so looks like it's in the GUI side
However, it...
December 15, 2008 at 12:51 pm
It's still 1 row per SUBPLAN, and 1 row per PLAN
SELECT TOP 500 *
FROM [msdb].[dbo].[sysmaintplan_subplans] SS
inner join msdb.dbo.sysmaintplan_plans SP ON SS.plan_id = SP.id
Didn't find too...
December 15, 2008 at 12:47 pm
Perhaps that is why in SQL2005 and later it separates the USER from the SCHEMA
so an AD group will own objects via the SCHEMA, and you can modify users/schema without...
December 15, 2008 at 12:40 pm
If you are looking for all XML columns in a database
SELECT * FROM INFORMATION_SCHEMA.COLUMNS
WHERE DATA_TYPE = 'XML'
This is the result from my AdventureWorks2008 DB
TABLE_CATALOGTABLE_SCHEMATABLE_NAMECOLUMN_NAMEORDINAL_POSITIONCOLUMN_DEFAULTIS_NULLABLEDATA_TYPE
AdventureWorks2008ProductionIllustrationDiagram2NULLYESxml
AdventureWorks2008HumanResourcesJobCandidateResume3NULLYESxml
AdventureWorks2008ProductionProductModelCatalogDescription3NULLYESxml
AdventureWorks2008ProductionProductModelInstructions4NULLYESxml
AdventureWorks2008SalesStoreDemographics4NULLYESxml
AdventureWorks2008PersonPersonAdditionalContactInfo10NULLYESxml
AdventureWorks2008PersonPersonDemographics11NULLYESxml
AdventureWorks2008HumanResourcesvEmployeeAdditionalContactInfo18NULLYESxml
AdventureWorks2008SalesvIndividualCustomerDemographics18NULLYESxml
AdventureWorks2008dboDatabaseLogXmlEvent8NULLNOxml
December 12, 2008 at 9:09 am
Is full-text search an option?
December 12, 2008 at 9:06 am
I don't know anyway around how to escape/preserve the special characters in XML, since they indeed are SPECIAL
like &, , etc...
http://www.xml.com/pub/a/2001/01/31/qanda.html
Someone asked this question on StackOverflow (Google)
December 12, 2008 at 9:05 am
Follow the Log Shipping wizard (right click on the DB, Properties or Tasks)
In summary
you have to take the backup of the DB from Primary, restore it on Secondary server in...
December 11, 2008 at 2:20 pm
Just hit Ctrl-N in my SSMS 2008, opened a new query window for me
Ctrl-O opens the Open File window
Go into Tools -> Options -> Environment -> Keyboard
to see if you...
December 11, 2008 at 2:19 pm
Viewing 15 posts - 166 through 180 (of 549 total)