Viewing 15 posts - 9,286 through 9,300 (of 13,461 total)
Karl in your case, since Tablediff takes username/password parameters for the servers it will compare, you could just include those and not have to fiddle with the startup accounts, but...
June 8, 2010 at 12:27 pm
Roy it looks to me that this is a rounding issue when the convert is changing to smalldatetime; that is wierd to me as well, since i'd expect the rounding...
June 8, 2010 at 11:41 am
a user would need EXECUTE permissions on the functions in order to use them.. read(SELECT) access, like granting db_datareader, is limited to tables or views.
June 8, 2010 at 11:07 am
no limit the way you are thinking...you can have one default per column if you want...a table with 200 columns could potentially each have a default value for each of...
June 8, 2010 at 11:05 am
xp_cmdShell does not use your credentials.
this is a common security misconception . The problem is that when you access any resource OUTSIDE of SQL server, like network shares, local hard...
June 8, 2010 at 10:54 am
sure, it's just like any regular INTO NEWTABLENAME select statement: the column definitions will be derived from the output of the results of the SELECT.
SELECT TOP 3 *
INTO MyNewTable
FROM sys.tables
SELECT...
June 8, 2010 at 7:26 am
Paul i think you are on the right track about the collation issue;
your function and examples worked fine; i got the correct proper cas for all the examples you posted.
I...
June 8, 2010 at 7:03 am
Gil i don't believe it is possible.
I'd seen this question a couple of times before, and here are some threads on the same issue.
http://www.sqlservercentral.com/Forums/Topic921933-391-1.aspx
http://www.sqlservercentral.com/Forums/Topic906015-145-1.aspx?Highlight=whoami
http://www.sqlservercentral.com/Forums/Topic905937-146-2.aspx
i had tried reading the registry of...
June 8, 2010 at 5:44 am
I think Jim Dillon has posted the definitive way to create a linked server to MySQL here:
http://www.sqlservercentral.com/Forums/Topic340912-146-1.aspx
he posted some really good instructions, and there's a lot of sharp questions on...
June 7, 2010 at 6:22 am
then the error is in the logic where you are determining the substring; does this return any rows?:
;WITH CTE AS
(
SELECT Field9,
...
June 6, 2010 at 9:16 pm
the problem is in the data; at least one row does not have every charindex you are looking for:
select * from evCreateUser
WHERE CharIndex(''User Account Created'', Field9) = 0...
June 6, 2010 at 8:44 pm
there is absolutely no advantage to storing dates as anything except dates.
never store datetime as any other datetype except datetime.
what is the date of the integer 20105404?
internally, SQL stores it...
June 4, 2010 at 12:16 pm
depends on what "kind" of integer you want:
select convert(int,getdate())
--40332 days since 01-01-1990, SQL's internal start date
select YEAR(getdate()) * 10000
+ MONTH(getdate()) * 100
+ DAY(getdate())
--an integer "20100604"
June 4, 2010 at 12:12 pm
i don't know if this will help you, as it's not a canned solution, just how I've done it in the past.
I created a simple vb6, and then improved it...
June 4, 2010 at 6:20 am
davidandrews13 (6/4/2010)
so if i wanted to find out if 'lowell@davidandrews.com' exists on my own server how would i go about that?
lets say that the email in the...
June 4, 2010 at 6:16 am
Viewing 15 posts - 9,286 through 9,300 (of 13,461 total)