Viewing 15 posts - 6,826 through 6,840 (of 13,469 total)
Carlton Leach (9/6/2011)
Does the dbo schema own the stored proc?Carlton..
I was thinking along the same lines...it might not be owned by dbo:
select
schema_name(schema_id) as SchemaName,
name...
September 6, 2011 at 6:58 am
the default database assigned to the login CORP\shilpa was dropped; change it to master adn try to log in again.

September 5, 2011 at 6:23 am
you can't.
once a person connects to SQL server, additional verifications are not possible from SSMS.
So if they have permissions to perform a a backup or a restore, you can't make...
September 3, 2011 at 11:30 am
how does a row number example perform?
SELECT
Server_Id,
Data_Timestamp
FROM
(SELECT
ROW_NUMBER() OVER (PARTITION BY Server_Id ORDER BY Data_Timestamp DESC) AS RW,
...
September 2, 2011 at 3:00 pm
just a copy paste error...you left the column name attached to teh table name:
Insert into #FullDataGrid
Select '', createdtotal,'','',''
from #datecreated
INNER JOIN #DateCreated.CreatedDate
on #MasterDate.Date = #DateCreated.CreatedDate;
September 2, 2011 at 2:09 pm
wow...changing that setting that i posted the screenshot of is SUCH a bad idea in SQL server.
testing that, i updated one row in a table, and saw i got...
September 2, 2011 at 12:37 pm
to follow up on what Pablo said, here's a simple example:
CREATE TABLE WHATEVER(
WHATEVERID INT IDENTITY(1,1) NOT NULL PRIMARY KEY,
DESCRIP VARCHAR(30)
)
INSERT INTO WHATEVER(DESCRIP)
SELECT 'APPLES' UNION
SELECT 'ORANGES'...
September 2, 2011 at 11:44 am
even a filegroup backup might not be all you need; if all the tables are backup up in a file group, and then a change occurs to one of them,...
September 2, 2011 at 11:35 am
just the methods you probably already know:
SELECT INTO MyTABLE_bak FROM MyTABLE, or if you want to put them in a different database, SELECT INTO SELECT INTO SpecialDatabase.dbo.MyTABLE_bak FROM...
September 2, 2011 at 11:00 am
well i found a post stating the obvious: adding debug stuff like PRINT statements would slow down a proc, and forgetting to sue using SET NOCOUNT ON to avoid extra...
September 2, 2011 at 9:13 am
David Paskiet (9/2/2011)
September 2, 2011 at 9:08 am
can you get an execution plans of the same proc with and without the huge comment blocks? that would be where i'd look first, i think...there's GOt to be ...
September 2, 2011 at 9:03 am
comments are ignored by SQL server completely...it's much more likely that because you edited the procedure, it was recompiled,a nd the recompilation made a better plan, which executes faster than...
September 2, 2011 at 8:45 am
paul88 (9/2/2011)
Cheers Lowell, that allowed me to do it a good bit quicker than manually changing each one, thanks
glad i could help!
you can try to get fancy, and do something...
September 2, 2011 at 8:38 am
erkan.erbil (9/2/2011)
Appserver Logs showed...
September 2, 2011 at 8:29 am
Viewing 15 posts - 6,826 through 6,840 (of 13,469 total)