Viewing 15 posts - 5,821 through 5,835 (of 13,460 total)
tempdb is recreated every time the server is stopped and started.
the only way to reclaim the space (as far as i know) is to stop and start the service again.
something...
Lowell
March 12, 2012 at 6:29 am
JamesX (3/9/2012)
Lowell
March 9, 2012 at 9:12 am
i believe this is only items that have a chached plan that was recently used; if the command is not in this, you'd have to add a trace to capture...
Lowell
March 9, 2012 at 7:20 am
Jeff Moden (3/9/2012)
My favorite of all time free tools... GOOGLE.
kewl! where can i find that? can you send it to me via email?
Lowell
March 9, 2012 at 6:12 am
this one loks so interesting, but I'm not able to take the time to convert the data in the screenshots into tables myself.
can you post a few sample rows of...
Lowell
March 8, 2012 at 2:33 pm
set the value to 39167687
the next value inserted will be 39167688.
proof of concept:
CREATE TABLE MyTable(ID int identity(1,1) not null primary key,someval varchar(30))
insert into MyTable SELECT ('normal')
insert into MyTable SELECT ('normal...
Lowell
March 8, 2012 at 12:06 pm
one piece of it is a catch all query, right?
And @SyCampusID = Case @SyCampusID When 0 Then 0 Else SyCampus.SyCampusID End
Lowell
March 7, 2012 at 4:45 pm
to see them all, i'd use row_number:
select row_number() over (PARTITION BY name, description ORDER BY code, name, description) As RW,
code, name, description
FROM YOURTABLE
from that same query, the ones with...
Lowell
March 7, 2012 at 3:26 pm
stick with dynamic sql;
something like this seems to work for me:
declare
@isql varchar(max),
@dbname varchar(64)
SET @dbname = 'TargetDatabase'
declare c1 cursor for
SELECT modz.definition
FROM sys.sql_modules modz
LEFT OUTER JOIN sys.objects objz
...
Lowell
March 7, 2012 at 3:09 pm
to see all users, you need to grant view server state permissions.
grant VIEW SERVER STATE to TheRightRole;
Lowell
March 7, 2012 at 3:03 pm
also, you'd get an error if you try to use * and also schemabind a view:
CREATE VIEW v_YOURTABLE
WITH SCHEMABINDING
AS
SELECT * FROM YOURTABLE
Msg 1054, Level 15, State 6, Procedure...
Lowell
March 7, 2012 at 2:07 pm
yes.
if the view is not schema bound, if you created the view with select *...that gets compiled to a select featuring the actual columns at the time of creation.
you can...
Lowell
March 7, 2012 at 2:03 pm
Agreeing with Elliot here;
i've seen numerous posts here requesitng the same thing.
AFAIK the biniaries that are the core service and stuff must be installed on the %systemdrive%, with no...
Lowell
March 7, 2012 at 12:46 pm
conceptually, i understand now; it'd a STDEV of the 6 values, right?
if you can provide a set of commands for some sample data
CREATE TABLE ...
and also
INSERT INTO...
we could show...
Lowell
March 7, 2012 at 12:17 pm
the SQL server function STDEV takes a column name;
it sounds like you want the STDEV of 6 columns in a specific row, or a
all values ?
if it's the 6 columns...
Lowell
March 7, 2012 at 11:10 am
Viewing 15 posts - 5,821 through 5,835 (of 13,460 total)