When you moved the database to the new server all objects (tables, procedures, views, functions, etc) would have moved from the old server to the new server.
There is no such thing at SQL Server 2003. There is SQL Server 2000 and SQL Server 2005. Windows 2003 has the same Task Manager which Windows XP has. Right click on the task bar and select Task Manager. You can also see this information in Performance Monitor. Under the Process performance object select the [...]
It’s possible that it’s a firewall problem, but not very likely. Go to register a new server again, but this time disable the wizard and just type in the server name. This should then allow you to register the server with EM.
The easiest way to do this would be to load all the data into a staging table, then delete any data which is before 1970 and then move the data into the production table.
In order to have a dynamic order by you have two options. 1. Use dynamic SQL. 2. Use a branching storage procedure. Option 1: <pre>CREATE PROCEDURE MyProc @OrderBy NVARCHAR(30) AS DECLARE @SQL NVARCHAR(4000) SET @SQL = N“Select * From Tbl_Name Where Name LIKE ‘%xyz%’ ” + @OrderBy exec (@SQL) GO</pre> Option 2: <pre>CREATE PROCEDURE MyProc [...]
The best way to learn is to just grab the new product and go for it. If you have an MSDN account you can download SQL 2005 from the MSDN site. If not you can buy the Developer edition for about $50 US. SQL 2008 is still in beta so you can download from the [...]
In a 2 node cluster you can use either Standard Edition or Enterprise edition. I pretty much always recommend Enterprise Edition for people who are clustering the database as they can not afford any down time as Enterprise Edition gives you the ability to do online index rebuilds while Standard Edition locks the table while [...]
SQL Server doesn’t have a way to set a password on a database. If you are referring to changes a SQL Login’s password Under security navigate to Logins and double click on the login in question and simply type in the new password in both fields.
SQL Server Express edition doesn’t support maintenance plans as using the maintenance plans requires have Integration Services installed. As Express edition doesn’t include Integration Services you can not create a maintenance plan. To rebuild the indexes you will need to write scripts to handle the work, then run then from a scheduler. As the Express [...]
sample uncorrelated subquery (team which has the most wins) – SELECT teamname FROM teams WHERE wins = ( SELECT MAX(wins) FROM teams ) sample correlated subquery ( players who scored most goals on their teams) – SELECT playername FROM players AS p WHERE goals = ( SELECT MAX(goals) FROM players WHERE teamid = p.teamid )
You need to save your picture as a BLOB. Here’s a <a href=”http://www.codeproject.com/KB/aspnet/Store_and_manipulat_BLOBs.aspx”>tutorial </a>that shows you how to do it. Have a good one! Joelle If you decide that you wish to store blob data within the database the information that Joelle provided is a excellent resource. However it is usually recommended to not store [...]
You can create a website with VB.Net and then pull information from your database by specifying your DB server in the connection string. You will find an example of how to do this <a href=”http://www.connectionstrings.com/?carrier=sqlserver2005″>here</a>. Hope this helps, Joelle In addition you will also need to have the firewall opened to allow connections to the [...]
I’ll post the same answer here as when Dangagne asked the question on the forum back on Feb 28. While this can be done, it is more efficient and much safer to hard code the list of indexes which need to be dropped into a stored procedure, and the same with the create index commands. [...]
Not that I know of. Everytime I’ve tried to create an object in the sys schema I get an error. What’s the end result of the view you are trying to create? SQL 2005 has tons of data exposed via the DMVs.
Yes, but not because off SSRS. The IIS componant of Windows XP only allows a small number of users to connect to the website at once. As SSRS runs via IIS this would prevent more than a few people from using SSRS at once. Also the only edition of SSRS which will install on Windows [...]
You will want to restore your most recent backup of the database to another database name or to another server, then script out the database and then copy the data from the restored database to the production database which is missing the table. If your database is in full recovery mode or bulk logged recovery [...]
The easiest formula is how many records will each subscriber add into the database between syncs. Take that number and multiply by 5. That should give you plenty of identity values for a decent amount of time if the systems don’t replicate for a couple of cycles. Of course if you replicate every hour you [...]
There is no way to directly restore data from one database design to another. Restoring data typically refers to taking a database backup and loading that backup into the SQL Server so that the database looks like it did at a prior point in time. In order to load for data from the existing schema [...]
You’ll want to setup an SSIS variable with the scope of Package. Then add in a SQL Query task to return the statement that you want. Then using the record set which is returned drop than into the SSIS variable. Then use the SSIS variable to in the select statement as part of the data [...]
You will have to build the whole SQL statement into a variable in one go then execute it. The INNER JOIN is implied e.g. select x.a from x, y where x.rowid=y.rowid This is an inner join and will only return rows where there is a reference in both tables





