Viewing 15 posts - 16 through 30 (of 68 total)
I was traveling yesterday so could not reply.
Here is the create statement
CREATE TABLE [dbo].[mjtest](
[InvoiceId] [int] IDENTITY(1,1) NOT NULL,
[ProjectId] [int] NOT NULL,
[CompanyCode] [varchar](2000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[VendorNumber] [varchar](2000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CheckNumber] [varchar](2000)...
December 28, 2009 at 10:29 pm
Thanks for the quick reply. I am using like statements because they are not equal but similar. Will a modified version of your statement with like instead of equal work...
December 27, 2009 at 1:40 pm
Thanks but this seems like it will execute the first query to get the column values and then execute the main query again which will take much longer than executing...
November 18, 2009 at 3:25 pm
Thank you very much. This was very helpful and informational.
September 9, 2008 at 10:39 pm
It works if I remove the -E but I am not sure what it was for. This format works but please confirm if I am doing something wrong
for /F "delims=/"...
September 9, 2008 at 6:23 pm
Thanks again guys!
Now I am getting "Sqlcmd: The -E and the -U/-P options are mutually exclusive." for all queries.
September 9, 2008 at 6:19 pm
Thanks for the reply but now I get no errors even for files without spaces.
September 9, 2008 at 12:20 am
I think I found the problem but not a easy fix. Some of my sql files have space in the name and those ones are not throwing any error even...
September 6, 2008 at 10:51 am
Thanks for the reply. It looks good but the files do not report the error always. I got one when the object existed. But I tested creating a sp using...
September 6, 2008 at 10:45 am
Just want to confirm that the job I have setup is done the right way for error logging because you had something in your document about this and I am...
July 8, 2008 at 3:42 pm
Thanks, I checked and all indexes with high fragmentation had less than 100 pages and the big ones were all fixed.
July 8, 2008 at 3:23 pm
Sry about the double post. I did not see my first was not sure if it actually go added.
I had ran this query "SELECT a.index_id, name, avg_fragmentation_in_percent
FROM sys.dm_db_index_physical_stats (NULL, NULL,...
July 8, 2008 at 2:49 pm
I am using standard edition of sql server which cannot run reindexing in online mode. Will your sp handle that or do I need to modify it?
July 8, 2008 at 2:33 pm
Thanks, everything works fine now without any errors. I have SQL Server 2005 standard edition which does not support online reindexing. Will your sp check that or should I modify...
July 8, 2008 at 2:27 pm
Thanks for the quick reply. I thought SQL service packs are part of windows update when you select custom but this does not seem to be the case for sp2....
July 8, 2008 at 1:34 pm
Viewing 15 posts - 16 through 30 (of 68 total)