Viewing 15 posts - 976 through 990 (of 1,156 total)
This sample file should help you get to where you need to go. I have successfully tested it on my machine.
declare @tbl1 table(
id int,
descr varchar(25)
)
declare @tbl2 table(
id int,
descr varchar(25)
)
insert...
December 18, 2007 at 11:08 am
I just read you post again :hehe:
Let me have another look.
-Adam
December 18, 2007 at 10:27 am
After reading the post again, my previous post did not give you the result you are trying to achieve.
Let me look at it a little harder.
December 18, 2007 at 10:26 am
Have you tried to join them?
SELECT *
FROM TABLE1 a
INNER JOIN TABLE2 b ON A.id = B.id
December 18, 2007 at 10:18 am
Use dynamic SQL to generat the backup with a variable to house the date.
e.g.
DECLARE @sql NVARCHAR(200), @dt VARCHAR(20)
set @dt = rEPLACE(convert(varchar,getdate(),101),'/','')
set @sql = N'
BACKUP DATABASE LcsLog
TO DISK = ''\\HQ-NAS1\SQLBACKUP$\HQ-APPS2\Data\LcsLog' +...
December 18, 2007 at 10:08 am
MCITP: Database Developer
http://www.microsoft.com/learning/mcp/mcitp/dbdev/default.mspx
In getting this certification, you must also get the MCTS: SQL Server 2005 certification, as it is a prereq.
December 18, 2007 at 9:39 am
It sounds like the you dont have access to the server you are tyring to copy to. The login timed out because it could not connect.
Verify that you can...
December 18, 2007 at 9:06 am
Hi ,
Can someone please help me how to take 20% of backup from my OLTP db. Is there anyway to take only 20% backup in sql server 2000/2005?
Only with Filegroup...
December 18, 2007 at 7:28 am
Please give me a query to create a job on Sql server 2005 for taking a back up. I want to run the job when I would like.
Create the backup...
December 18, 2007 at 7:28 am
I have seen it where tsql code breaks because of compatibility level. Some code that works on 2000 is not compatible with 2005 because of syntax.
December 18, 2007 at 7:06 am
Another solution:
select *
from Test e
where e.date = (select max(date) from Test a where e.name = a.name)
order by e.name
December 17, 2007 at 4:51 pm
Yes, SQL server Management Studio is different between standard and express. I believe that the Express verison is stripped down. One piece of evidence that leads me to...
December 17, 2007 at 3:37 pm
Update:
I created a new query with the the script you provided to determine fragmentation level? I take it that was what I was supposed to do? I ran it and...
December 17, 2007 at 2:26 pm
And I believe reporting services comes with Express to.
December 17, 2007 at 2:22 pm
Viewing 15 posts - 976 through 990 (of 1,156 total)