Viewing 15 posts - 751 through 765 (of 1,170 total)
Can you try by replacing SCOPE_IDENTITY() with @@IDENTITY?
SCOPE_IDENTITY() returns the current identity withing the current scope, while @@IDENTITY is not scope limited.
Regards,
IgorMi
December 9, 2013 at 5:09 pm
You can find a lot of stuff in here http://www.microsoft.com/en-us/bi/default.aspx
Googling "white paper microsoft bi" will point you to lots of sites...
December 9, 2013 at 4:53 pm
twin.devil (12/9/2013)
GilaMonster (12/9/2013)
ahaan nice, thats why your procedure is in the silent mode 🙂
Igor just said there is a try-catch construct available in SQL Server. The OP did not say...
December 9, 2013 at 4:03 am
liebesiech (12/9/2013)
Maybe it's irrelevant but you might also want to consider the expected growth of this table and possible archiving scenarios.
I think you should not worry even if your table...
December 9, 2013 at 3:51 am
In SSIS appropriate is DT_R8 for Float,Double.
In the destionation table you'd have Float as data type.
Take a look here http://technet.microsoft.com/en-us/library/ms141036.aspx
Regards,
IgorMi
December 9, 2013 at 3:19 am
Yes there is TRY .. CATCH in T-SQL - http://technet.microsoft.com/en-us/library/ms175976.aspx
Regards,
IgorMi
December 9, 2013 at 3:00 am
1) You can take a look at this link https://www.simple-talk.com/sql/t-sql-programming/sql-server-excel-workbench/
2) You can create it via SSIS package and execute the package from ssms.
December 8, 2013 at 2:38 pm
You can see some results and experiment with queries given in this link http://technet.microsoft.com/en-us/library/bb522495(v=sql.105).aspx
December 8, 2013 at 1:47 pm
sej2008 (12/8/2013)
Why should one use grouping sets when group by is available .how does it help?
GROUPING SETS is less frequently used, but sometimes it can be useful if you're aware...
December 8, 2013 at 12:50 pm
Not something to worry about mcuh. Just put everything in the clustered key and all is well.
create table tbl_statistics
(p_key int identity(1,1),
client_id int not null,
client_datetime datetime not null,
constraint...
December 8, 2013 at 12:44 pm
Check values for all the following
remote access
remote admin connections
remote login timeout (s)
remote proc trans
remote query timeout (s)
in sp_configure to ensure in case something is not set up well.
December 8, 2013 at 12:02 pm
Is there a Login in the instance for the domain user you cannot log in with?
December 8, 2013 at 11:44 am
This code works
DECLARE @x XML
SELECT @x = '
<SystemProfile>
<CardTable>
<Reminder TimeOut="300" isActive="1" />
<Recycle RemovePeriodTime="60" />
<Message RemovePeriodTime="60" />
<Outbox>
<ConsiderNow authorizedCount="" />
<Considered authorizedCount="" />
<NotConsidered authorizedCount="" />
<Reject authorizedCount="" />
</Outbox>
</CardTable>
<Page>
<DocFlowHistoryView default="Graph" />
<SendService viewInOutbox="1" searchItem="role" searchOption="include" />
<Theme default="silver"...
December 8, 2013 at 9:03 am
You can use GROUP BY additionally with GROUPING SETS.
If you've been useing GROUP BY for a number of columns, now imagine those columns as sets, and everything is the same....
December 7, 2013 at 1:25 pm
Luis Cazares (12/6/2013)
Are you using NOLOCK hints? This could be one cause.It would help a lot to see what the SP does.
Try to avoid using hints, unless when you're very...
December 6, 2013 at 3:41 pm
Viewing 15 posts - 751 through 765 (of 1,170 total)