Viewing 15 posts - 3,781 through 3,795 (of 13,469 total)
it kind of sounds like the client has your application already in place, and when they upgrade, they need to run scripts too?
I know in our case, we've done it...
April 1, 2013 at 9:21 am
i get this a lot when i use an explicit transaction, which i then role back; afterwards, in that situation i get the same error you reported when i then...
April 1, 2013 at 7:33 am
AndrewSQLDBA (4/1/2013)
April 1, 2013 at 6:19 am
it's trivially ewasy, but the most important thing is to make sure noone has sysadmin rights; you cannot hide or deny access to a sysadmin.
sql is deny by default, so...
April 1, 2013 at 6:17 am
an example of what Gail was referring to:
USE [SandBox] --my db for users to do stuff.
CREATE ROLE [ReallyReadOnly]
--give my new role READ permission to ALL tables
EXEC sp_addrolemember N'db_datareader', N'ReallyReadOnly'
--explicitly DENY...
April 1, 2013 at 6:10 am
Sp_help returns multiple data sets with different numbers of columnz. It also returns different results depending on the parameters and the object you are testint... a table returns diilfferent results...
March 30, 2013 at 4:09 am
something like this? also, max_length only makes sense for char types, so you mean like varchar/nvarchars right?
SELECT
OBJECT_NAME(OBJECT_ID) AS tablename,
name AS colName,
TYPE_NAME(system_type_id),
CASE...
March 29, 2013 at 2:57 pm
rajarshi_ghosh_05 (3/29/2013)
The highest time to keep the table alive is 120min.Is it possible to keep the table alive by locking it or anything else?
again, no, it is not possible...
March 29, 2013 at 2:01 pm
the only sure fire way to keep the keep that global temp table around is by having the process which created the temp table keep it's connection open. that...
March 29, 2013 at 1:41 pm
create a temp table, and instead of SELECTING, do INSERT INTO...SELECT:
CREATE TABLE [dbo].[#TMP] (
[DBNAME] NVARCHAR(256) ...
March 29, 2013 at 1:25 pm
even global temp tables get dropped if all the sessions that referenced it disconnect, i believe.
you'd need to start adding logic to create if not exists to your process, if...
March 29, 2013 at 1:11 pm
Laura i think it would be easier to delete dashes, and maybe also spaces from the string, and then look for 16 [0-9] digits in a row in the...
March 29, 2013 at 12:59 pm
yes, you can make a check constraint that uses a user defined function.
something like this is untested, but kind of gives you an idea of how it would work
create function...
March 29, 2013 at 12:06 pm
note: two year old thread.
the answer is right here, so re-read the whole thread, and use the GUI instead;
your error is mentioned in my post above:
--fails: not allowed to alter...
March 29, 2013 at 11:06 am
no rules for what it is you want to do?
my wild guess is you want to split Task by word, but no explanation ont he numbering scheme.
With MySampleData ([Proc],Seq,Type,Task)
AS
(
SELECT...
March 29, 2013 at 9:31 am
Viewing 15 posts - 3,781 through 3,795 (of 13,469 total)