The other day I blogged that the version of the SQLServer PowerShell provider (sqlps) follows the version of PowerShell. That’s all goodness, but it has appeared to cause an issue for PowerShell 2.0. the Get-Command PowerShell command-let returns an error (Object reference not set to an instance of an object) if you are using PowerShell 2.0 and…
I have a SQLServer 2005 SP3 box that one of my developers created a temp table on that we cannot seem to remove because it somehow got brackets in the name of the table?
SELECT Name, object_id FROM sys.objects WHERE Name LIKE '%#example%'
Results:
Name object_id
[#example] 123828384
Anyone know how we can get rid of this? Thanks!
My client is using Advantage Database Server and wants to move to SQLServer but obviously wants to move all his clients data as part of the upgrade over to SQLServer.
I've thought about writing an app to do the transfer but thinking it might be more trouble than its worth.
What would you recommend?
I receive the following error when trying to install SqlServer 2008 Standard on a Windows Server 2008 box.
Error reading from file D:\x64\setup\sql_engine_core_inst_msi\PFiles\SqlServr\MSSQL.X\MSSQL\Binn\etwcls.mof. Verify that the file exists and that you can access it.
When searching the interwebs I only find information about compiling…
Here's the problem we're having:
In the applications that are using the databases we get errors like:
The log for database 'redactedDatabaseName' is not available. Check the event log for related error messages. Resolve any errors and restart the database.
Cannot close event log because there are still event handle users active.
The…
Hi,
I install SQLSERVER 2005 on my Windows 7 machine. Now, when connecting to the server there is nothing being displayed in the Server Name. Am I missing something?
Same happens with SQLSERVER 2000!
Hi,
I need to replicate some data from two tables in one database to another databases. I used snapshot replication. The issue is that I would like to replicate only some selected columns and the others should stay with untouched data. I don't want to loose their data. The sours of those columns is other system. So I need to replicate…
Well, this is the first time in a long time that I've blogged about cumulative updates for two different versions of SQLServer on the same day. Yesterday Microsoft released a cumulative update for SQLServer 2008 SP1 (bringing you to 10.0.2775), and a corresponding cumulative update for SQLServer 2008 R2 RTM (bringing you from…
Well, this is the first time in a long time that I've blogged about cumulative updates for two different versions of SQLServer on the same day. Yesterday Microsoft released a cumulative update for SQLServer 2008 SP1 (bringing you to 2775), and a corresponding cumulative update for SQLServer 2008 R2 RTM (bringing you from 1600…
In the 1980s Carl Sagan captivated TV viewers with his exploration of the universe; we present to you, a lost episode, The Meat Planet. Creators of the parody video, Darren Cullen and Mark Tolson, engaged in some expert splicing and dicing of past Cosmos episodes to create their masterpiece: the lost episode focused on the…
How can I create View on Linked Server db. For Example I have a linked server [0.0.0.0] on [1.1.1.1]. Both db servers are SQL Sserver 2005. I want to create View on [1.1.1.1] using table on linked server.
Thanks.
I'm trying to make a simple game where a spaceship is launched and then its path is effected by the gravity of planets.
Similar to this game: http://sciencenetlinks.com/interactives/gravity.html
I wish to know how to replicate the effect the planets have on the spaceship in this game so a spaceship can 'loop' around a…
I have two Server 2008 servers (both running as VMs in VMware). One is a Full Installation, and the other is a Server Core installation. I just installed Print Services on both of them. In Print Management on the Full server, I added the Server Core print server (so now two print servers are listed in Print Management).…
I'm trying to copy a backup I've made from one server to another using either an SSIS or Powershell step in a job. I've run into the same error on both systems when running the step under the sql agent. I receive errors that the path does not exist. I've tried granting the agent rights to e:\backups, where the file…
We are currently a single domain on a single network running Server 2003 Standard and Exchange 2007.
I have a new server up and running (added to the domain already) with Server 2008 R2 on it. I want this to become my Primary Domain Controller, thus replacing my old Server 2003 server.
I know I should just be able…
I would like to make a query for database user roles for all databases in my sqlserver instance. I modified a query from sp_helpuser:
select u.name
,case when (r.principal_id is null) then 'public' else r.name end
,l.default_database_name
,u.default_schema_name
,u.principal_id
from…
SSIS Reporting Pack is a suite of open source SQLServer Reporting Services (SSRS) reports that provide additional insight into the SQLServer Integration Services (SSIS) 2012 Catalog. You can read more about SSIS Reporting Pack here on my blog or had over to the home page for the project at…
Yes, here it is SQL Saturday #274 is coming to Slovenia (#sqlsatSlovenia). The event will take place on Saturday, December 21st, at company pixi* labs, Informacijske tehnologije, d.o.o. Poslovna cona A 2 SI-4208 Šencur This company generously offered to host the event. We, the…
I'm currently trying to decide on the best approach to handle hosting a few moderate traffic websites for production e-commerce and online applications. We'd like to move to a dedicated server and are looking at this as the most likely machine:
Quad Core Intel Core2Quad Q9550 Processor,…
I'm having difficulty setting up replication over a VPN.
I have a SQLServer 2008 R2, Enterprise Edition database on a Windows 2008 R2 Server.
SQLServer is running on a non-standard port. I have set it up so that it is acting as its own distributor and have configured a publisher on…
What are my options for achieving a warm backup server for a SQLServer Express instance running a single database?
Sitting beside my production SQLServer 2008 Express box I have a second physical box currently doing nothing. I want to use this second box as a warm backup server by…
I'm just starting to learn T-SQL and could use some help in understanding what's going on in a particular block of code. I modified some code in an answer I received in a previous question, and here is the code in question:
DECLARE @column_list AS varchar(max)
SELECT @column_list…