Viewing 15 posts - 46 through 60 (of 72 total)
So basically all I need to do is,
CREATE INDEX IX_vw_Test ON dbo.vw_Test
April 30, 2008 at 8:35 pm
Thanks Matt.
Y'll input is much appreciated.
April 10, 2008 at 6:45 pm
Thanks Matt.
No I don't have any CLR functions and yes they all are scalar functions. None of them are database dependent.
e.g. I have a function called LCD which calculates a...
April 10, 2008 at 5:55 pm
I normally use the following and it works well.
USE [DatabaseName]
GO
DBCC SHRINKFILE (N'LogFileLogicalName' , 0, TRUNCATEONLY)
GO
April 9, 2008 at 6:15 pm
So let me get this right.
I create a function called Blah in the master database and rather than calling that function if it was in the same database like dbo.Blah(),...
April 8, 2008 at 10:56 pm
Yes it's possible.
I am not sure what were the errors but I had some problems after installation about starting the server and browsing the databases.
If I remember correctly I setup...
April 8, 2008 at 10:15 pm
Thanks Matt,
Only thing confused me was your reply
You'd have to copy those things to each of the user databases.
I assume you mean if I add them to Model...
April 8, 2008 at 9:01 pm
Cool thanks Jason.
I will start adding them to the Model database.
As for the changes I will have to write some sort of script to propagate them to all the databases.
And...
April 8, 2008 at 8:59 pm
As Sameer explained it's not possible but in future (also suggested) you should have Auditing fields in each table.
I normally have 4 fields in each table.
[UserCreated] [varchar](16) NOT NULL
[DateCreated] [datetime]...
April 8, 2008 at 8:09 pm
$sanjayattray (3/18/2008)
declare @DBName varchar(35),
@STR varchar (255)
declare DBRecoveryModelGenerator_cursor cursor for
select name from sysdatabases
where...
March 18, 2008 at 6:38 pm
Greg Charles (3/18/2008)
select recovery_model_desc from sys.databases where name = 'master'
The sys.databases view is in every database.
I guess you could post your statement in the "Scripts" section....
March 18, 2008 at 6:36 pm
Thanks both.
No I don't need to run the same query all the time.
Basically user gets a combobox selection of what kind of data to download and then when...
July 19, 2007 at 8:25 am
Thanks for the quick reply Jeff. Here is it.
SELECT A.PersonId, A.Name, A.Address1, A.Address2, B.TotalOrders FROM Person A LEFT JOIN qry_PersonOrders B ON A.PersonID = B.PersonId
July 18, 2007 at 11:34 pm
OK with minor changes it's working now.
DECLARE @WebPageName VARCHAR(100) DECLARE @ParentPageId INT DECLARE @WebPageId INT -- SET @WebPageName = 'aus_young_matildas_news_feat_news_item' SET @ParentPageId = 0 SET @WebPageId = 0 -- SELECT @WebPageId = Webpageid FROM WebPage WHERE Name =...
December 6, 2006 at 3:39 pm
Viewing 15 posts - 46 through 60 (of 72 total)