Viewing 15 posts - 1,666 through 1,680 (of 2,645 total)
The problem is you are trying to OUTPUT a column from table @MyTable that does not exist on @MyTable(MyData.C).
March 4, 2019 at 8:56 am
Are you sure there is only one index on the table?
Does the query you use to insert data reference the insert table in a query (or any other table)?
March 4, 2019 at 7:03 am
Everything in the inline table needs to have a distinct column names. So instead of just SELECT * you need to list the columns you want.
If you want two...
March 4, 2019 at 5:04 am
I've done something similar with SSIS (a few years ago).
I needed to get a temple spreadsheet with a table in it, to do this I created a new...
March 2, 2019 at 5:51 am
Nita Reddy - Friday, March 1, 2019 10:01 AMI am not getting Distinct Loginame with the solution you provided.
Some of the columns...
March 1, 2019 at 10:16 am
Unless you use dynamic SQL you will have to write something like this:SELECT CASE DATEPART(day,GETDATE())
WHEN 1 THEN t.Col1
WHEN 2 THEN t.Col2
...
March 1, 2019 at 10:14 am
INSERT INTO [dbo.Distinct_Login]
select GETDATE(), DB_NAME(dbid)AS DatabaseName, MAX(LOGIN_TIME), HOSTNAME,CMD,NT_USERNAME,LOGINAME
from MASTER.DBO.Sysprocesses where spid > 25
group by DB_NAME(dbid),HOSTNAME,CMD,NT_USERNAME,LOGINAME
March 1, 2019 at 9:56 am
Can you use datetime2 in SSIS? This will store 01/01/1000 as a date:declare @Date as datetime2(3)
set @Date ='1000-01-01'
select @Date
March 1, 2019 at 9:52 am
It's a really impressive script. I think it's worth changing the table definition in of #ByCell in script Soduku_PJR to remove the name of the primary key and then republish the...
March 1, 2019 at 6:20 am
What type of column is dbo.TargetData(UniqueID)?
March 1, 2019 at 5:43 am
February 28, 2019 at 7:54 am
February 28, 2019 at 7:09 am
February 28, 2019 at 2:07 am
February 27, 2019 at 12:54 pm
February 27, 2019 at 11:55 am
Viewing 15 posts - 1,666 through 1,680 (of 2,645 total)