Viewing 15 posts - 7,621 through 7,635 (of 15,381 total)
todd.ayers (7/10/2013)
The Stack ID refers to a bundle of wood and in that column we have multiple...
July 10, 2013 at 7:57 am
phoenix_ (7/10/2013)
So Instead of this I developed...
July 10, 2013 at 7:50 am
Oh be careful here Laurie. You suggested using dynamic sql which is a good choice here. However you committed a cardinal sin. You allowed for the parameters to be executed....
July 10, 2013 at 7:49 am
This will get you the first 3.
select name, backup_finish_date, backup_size from msdb.dbo.backupset
To get free space you will have to loop through all the databases and look at dbo.sysfiles.
--EDIT--
I should mention...
July 10, 2013 at 7:39 am
dwain.c (7/9/2013)
Sean Lange (7/9/2013)
I ran your query through a formatter to make it easier to read.You've got a SQL formatter? I'd like to hear about that!
Here is a free...
July 10, 2013 at 7:08 am
In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form of INSERT INTO statements
3. Expected results...
July 9, 2013 at 3:33 pm
erikd (7/9/2013)
July 9, 2013 at 3:31 pm
LOL sounds like you are making good headway on this. Good thing...I am swamped at my actual job and don't have any time to dig back through this. 🙂
The good...
July 9, 2013 at 1:59 pm
Just curious...you have users that have SSMS installed but you don't want them to be able to see the tables? What are you trying to accomplish here?
July 9, 2013 at 1:41 pm
Is there a question here or are you simply explaining how you solved this?
July 9, 2013 at 1:39 pm
DBA12345 (7/9/2013)
Thank you folks..I appreicate your help.That query absolutely worked for me.
You are welcome. Glad you got it sorted out.
July 9, 2013 at 1:37 pm
Pretty sparse on solid details but I think I get the gist.
select *
from tableb b
LEFT join tablea a on a.Server = b.Server and a.AppName = b.AppName
where a.AppName IS NULL
July 9, 2013 at 12:35 pm
deepkt (7/9/2013)
one of other scenario is failing.. plz help..
What is failing? Are you getting an error message? Or is it a logic error? I am still confused as to what...
July 9, 2013 at 12:03 pm
deepkt (7/9/2013)
I have one requirement and need help.
I have a table:
CREATE TABLE MiscItems(ID INT, Description VARCHAR(50), DisplayOrder SMALLINT)
INSERT INTO MiscItems(ID,Description,DisplayOrder)
SELECT 100, 'A1',1
UNION ALL
SELECT 101,'A2',2
UNION ALL
SELECT 102,'A3',3
UNION ALL
SELECT 104,'A4',4
UNION ALL
SELECT...
July 9, 2013 at 10:40 am
I have no idea if Oracle or SQL pays more. I have never worked with Oracle much. You should focus on the areas of SQL server that you enjoy/are good...
July 9, 2013 at 10:37 am
Viewing 15 posts - 7,621 through 7,635 (of 15,381 total)