Viewing 15 posts - 3,586 through 3,600 (of 13,469 total)
also check out this neat trick:http://sev17.com/2011/10/22/gaining-sql-server-sysadmin-access/
basically it's a model for a SQLCMD script which would add a new sysadmin user, because it is able to run as the built in...
April 26, 2013 at 9:59 am
it's just the wrong provider;
jet is for 32 bit Access/Excel, and not for SQL Servers.
here's your command adapted, and also one I know works for sure:
--query directly without open rowset:
SELECT...
April 25, 2013 at 11:25 am
adonetok (4/25/2013)
There is a table Order in which one filed [Notes] as text data type.How to search a partial text such as "ordered on 10/02/2012" in the field [Notes]?
convert to...
April 25, 2013 at 10:43 am
collation.
for case insensitive searches, some high ascii characters are treated as the same character as certain low ascii.
you can use an explicit binary collation, for example, which would seperate teh...
April 25, 2013 at 9:45 am
remove the SET IDENTITY_INSER
%T command. since it is not valid/has no effect with BULK INSERT statements.
instead, as identified, you need to add KEEPIDENTITY to your BULK INSERT command:
BULK
INSERT ABC
FROM...
April 25, 2013 at 8:09 am
well as John Mitchell pointed out the ren command syntax found here does not allow the path of the filename as part of the second parameter.
April 25, 2013 at 5:35 am
austen.robinson (4/24/2013)
So let me understand. Where do I install my SQL Server during the installation? Or is it a problem with the VS project? Confused.
Ok your problem...
April 25, 2013 at 5:14 am
easiest fix is to move it out of your personal folders:
c:\users\austens samsung
a fresh installation of SQL has permissions to it's own folders under program files, and it's own folders under...
April 24, 2013 at 3:00 pm
when you say "CPU's, are you referring to virtual CPU's? i believe Standard 2008 is 4 sockets, but the Virtual CPU's could be, say 16 on a four socket...
April 24, 2013 at 1:50 pm
there is a very handy free plug in for SSMS here:
one of the options is to right click on a table in Object Explorer>>SSMS Tools>>Generate Insert Statements

April 24, 2013 at 1:23 pm
Lynn, do you know why my calculation is off by two days? is it because SQL's zero date on 01/01/1900, but Excel thinks zero date is 12/30/1899 ?
April 24, 2013 at 1:13 pm
rcherod (4/24/2013)
I would like to inquire about how to convert a date format of strange, I have a txt file that comes with the date field as follows:
Name fecha_asist
Pedro...
April 24, 2013 at 1:05 pm
Damian-167372 (4/24/2013)
April 24, 2013 at 9:52 am
ok, i'll skip the peer review and go straight to the error you are tripping over:
your error was pure syntax.
the SET IDENTITY_INSERT must be inside the body of the trigger,........
April 24, 2013 at 8:42 am
Viewing 15 posts - 3,586 through 3,600 (of 13,469 total)