Viewing 15 posts - 7,066 through 7,080 (of 7,164 total)
Executing as myself which has full dbo rights.
Is your login in the sysadmin Server Role? Is it a domain login, a local Windows login or a SQL Login?
DECLARE @bcpCommand VARCHAR(8000)
SET...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 1:39 pm
SELECT ukey,
intman,
admtype,
los,
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 1:16 pm
What are you executing in the call to xp_cmdshell...are you running something that connects back to the SQL Server, like bcp? If so, please provide the command line (with any...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 1:08 pm
Tania-346155 (3/1/2011)
i thought that bcp gets same account as xp_cmdshell ; )
thank you orc !!
Not always...it depends on who is executing it. Have a look at the "Remarks" section...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 1:04 pm
I see your concern now...and I was able to recreate the plan on my instance after looking at your plan using this code:
DECLARE @0 BIT = 1,
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 12:41 pm
An alternative is to enable mixed mode authentication, setup a SQL Login that has permissions to run the query in your bcp command and change from using -T to supplying...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 12:10 pm
gupta.sreekanth (2/28/2011)
hican any one help me in splitting like this in ssis
bas-06-12586
to
bas
06
12586
in different columns
In SSIS you can use the Derived Column Data Flow Transformation in your...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 12:04 pm
Hmmm....when I run your sample DDL into my SQL 2008 R2 test DB and run your select query I see index seeks (see attached sqlplan):
SELECT child.PATH
FROM ...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 11:51 am
Please post your DDL and DML.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 11:42 am
For functions:
SELECT *
FROM sys.objects
WHERE type IN (N'FN', N'IF', N'TF', N'FS', N'FT') ;
/*
From http://msdn.microsoft.com/en-us/library/ms177596.aspx:
FNSQL_SCALAR_FUNCTION
FSAssembly (CLR) scalar-function
FTAssembly (CLR) table-valued function
IFSQL_INLINE_TABLE_VALUED_FUNCTION
TFSQL_TABLE_VALUED_FUNCTION
*/
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 11:40 am
USE some_database_name
GO
SELECT name,
create_date,
modify_date
FROM sys.views
SELECT name,
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
March 1, 2011 at 10:48 am
Using what? The new Audit objects?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 28, 2011 at 3:48 pm
By default the local Windows security group "BUILTIN\Administrators" is part of the sysadmin Server Role. Check if your login is part of the local "Administrators" group. If it is not...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 28, 2011 at 3:35 pm
Please post the DDL for your table and the DML for your data.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 28, 2011 at 2:37 pm
You were asking about different approaches...a denormalized table approach is what you described in the hypothetical table in your original post. Implementing a star schema is an alternative to that....
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
February 28, 2011 at 2:12 pm
Viewing 15 posts - 7,066 through 7,080 (of 7,164 total)