Viewing 15 posts - 211 through 225 (of 245 total)
yes, i know, this is reason why i edited now 😀
but i found another bug, if i use variable is not function ... why ?
without
with
April 26, 2013 at 4:46 pm
Hello,
nice , it is good know it, i will try
April 26, 2013 at 3:49 pm
rebuild for index is every saturday. Before was never 😀
DECLARE @TableName VARCHAR(255)
DECLARE @sql NVARCHAR(500)
DECLARE TableCursor CURSOR FOR
SELECT distinct OBJECT_NAME(OBJECT_ID)
FROM sys.dm_db_index_physical_stats (DB_ID(N'MCS_MESDB'), NULL, NULL, NULL , 'DETAILED')
WHERE...
April 25, 2013 at 7:43 pm
So you know, we have separate tables, but there is column for line_code, so its good for view or one table ... new table according this view and insert all...
April 25, 2013 at 7:05 pm
Hello,
I have question what do you think about create view for all tables like I said above, but there is problem that I cannot create index for view with...
April 25, 2013 at 2:32 pm
so it can be task for future, because I know that dynamic sql is not good way, but there is korean code you know and there are things which are...
March 7, 2013 at 2:08 pm
opc.three (3/7/2013)
tony28 (3/7/2013)
opc.three (3/7/2013)
tony28 (3/7/2013)
Or do you think that I have merge all tables ? and just I will add next column with line code?
Yes, you would merge all the...
March 7, 2013 at 1:36 pm
opc.three (3/7/2013)
tony28 (3/7/2013)
Or do you think that I have merge all tables ? and just I will add next column with line code?
Yes, you would merge all the tables with...
March 7, 2013 at 12:00 pm
Or do you think that I have merge all tables ? and just I will add next column with line code?
is not possible because in master table are about...
March 7, 2013 at 11:15 am
Sean Lange
March 7, 2013 at 11:08 am
opc.three (3/7/2013)
March 7, 2013 at 1:26 am
I solved this, but I think that is little dirty way..
Here is just select inside cursor, where was problem
I inserted to table variable executed @sqlStr
and then set to @RESULT_COUNT...
March 7, 2013 at 12:08 am
it was just on test DB, if i did this test http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/11/10/1280.aspx and after appeared error with FULL
BACKUP LOG and when I wrote command dbcc shrinkdatabase ('Your-Data-Base-Name', TRUNCATEONLY) it...
February 15, 2013 at 10:55 am
hmm, but after this I could do again query and etc... at work I will read your link
February 15, 2013 at 10:11 am
Viewing 15 posts - 211 through 225 (of 245 total)