Viewing 15 posts - 106 through 120 (of 193 total)
You have to grant appropriate premissions for User to that schema
GRANT <premission> ON SCHEMA::com TO com
May 20, 2015 at 8:42 am
Try this:
DELETE FROM staging_account WHERE Auto_Id IN (
SELECT a1.Auto_Id
FROM staging_account a1
JOIN staging_account a2 ON a2.Account_Id = a1.Account_Id
AND a2.Auto_Id != a1.Auto_Id AND a2.Priority < a1.Priority)
May 20, 2015 at 6:19 am
You should find answer to your problem under link below:
http://www.sqldbpros.com/2011/12/ssis-no-column-information-was-returned-by-the-sql-command/[/url]
May 20, 2015 at 3:27 am
Hi,
Use OleDB source in your Data Flow task to get results and try using Flat File Destination for your output?
May 20, 2015 at 12:35 am
SQL Server management studio is a developers tool to be able to connect to the sql engine, the installer you've downloaded does not include the engine itself. have you installed...
May 1, 2015 at 5:47 am
You can run your query 2 times and than merge the data in one resultset by inserting into a temp table etc.
SET DATEFORMAT mdy
select
convert(datetime,b.p12_value,101) as Call_Date
,a.user_name
,c.form_component_title
,c.form_component_id
,c.score
,c.max_possible_score
,b.form_key
from
[dbo].[Users] as A inner...
March 19, 2015 at 7:15 am
cbosman0 (3/19/2015)
Michael L John (3/19/2015)
There is likely some data in this field that cannot be converted to a date.See what this returns
SELECT Field
FROM Table
WHERE ISDATE(Field) <> 1
Hi,
With above it...
March 19, 2015 at 7:09 am
Post some rows of [p12_value] column so we can see what we are dealing with.
March 19, 2015 at 6:47 am
CONVERT (datetime, value, 101)
is to convert U.S. date standsrt which is mm/dd/yyyy and in your first post you said you're trying to convert "18/01/2014 08:35:13" which is dd/mm/yyyy
try
convert(datetime,b.p12_value,103) as...
March 19, 2015 at 6:31 am
rexyrexin (3/18/2015)
select * from mytable
where class='something'
AND ISNULL(xyz,0) = CASE WHEN @abc = 1 THEN 1 ELSE ISNULL(xyz,0) END
Here @abc is the stored procedure...
March 18, 2015 at 4:44 am
ok If your "1" value is in fact a parameter and you want your results to be based on that parameter having a null value or 1 or 0 you...
March 18, 2015 at 4:37 am
Is your "1" a parameter/variable that you are providing?
March 18, 2015 at 4:28 am
rexyrexin (3/18/2015)
select * from mytablewhere class='something'
and (xyz is null OR xyz = 1);
But xyz can either be NULL or 1. I mean
Thats why you have OR in between to cover...
March 18, 2015 at 4:09 am
Viewing 15 posts - 106 through 120 (of 193 total)