Viewing 15 posts - 7,771 through 7,785 (of 13,460 total)
I'm not sure what terms you might have searched for, so try a google search for
sql server script database relations
or
April 11, 2011 at 6:55 am
it depends on what you mean by "sync" and also the allowed latency of the data.
if you mean combine changes from each server into one master database, that's a lot...
April 11, 2011 at 6:35 am
sp_sendmail doesn't auto-magically break and double send, so there's got to be something unexpected in the workflow instead.
Are you looping thru a table or results, and calling sp_sendmail on each...
April 11, 2011 at 6:12 am
\you are correct: you only need to grant EXECUTE on the stored procedure; your user does not need any access to the objects the procedure might use or manipulate.
There...
April 10, 2011 at 2:55 am
I'm assuming we are talking about SQL server login passwords, and not an encrypted value in a table that is used by the app.
Ed you can compare if the hash...
April 8, 2011 at 9:51 pm
sql doesn't really need the data in a specific order; you should typically just use an order by when you need the data in a specific order.
it uses indexes to...
April 8, 2011 at 9:22 pm
sounds like you need a GO statement between the function and the GRANT SELECT myFunction statement.
the function is trying to compile with the GRANT statement as part of it's body,and...
April 8, 2011 at 2:14 pm
can you confirm this actually returns something from your side: syntactically, it seems to work on my side:
--INSERT INTO SpatialDemo (SpatialData)
--test the select first:, then uncomment the INSERT INTO
SELECT geography::Point(Latitude,...
April 8, 2011 at 12:34 pm
looks like this page has some examples of the conversion; i haven't tried this yet:
http://www.sql-server-helper.com/sql-server-2008/convert-latitude-longitude-to-geography-point.aspx
I'm going to have to throw some time into studying this a bit;
create table x(
myLat ...
April 8, 2011 at 11:45 am
is there a question in there somewhere? all you did was paste Narayana Vyas Kondreddi's well known search function.
April 8, 2011 at 11:36 am
there's a difference between 'null'( a string literal) and the keyword NULL;
since you are not replacing more than one result, you don't need the CASE statement in this instance.
UPDATE dbo.LOCATION
SET...
April 8, 2011 at 7:37 am
you need to wrap and alias the XML like this:
Create Table #Results(
id int identity(1,1) not null primary key,
ResultsXML XML )
INSERT INTO #Results(ResultsXML)
SELECT (
...
April 8, 2011 at 7:34 am
are you taking the network data transfer into consideration?
on your local machine, the million rows go directly into memory; on the remote server, they have to travel over the network,...
April 8, 2011 at 7:27 am
a simple example:
SELECT
t1.*,
t2.*
FROM Databasename.dbo.Table t1
INNER JOIN MyLinkedServer.DbName.dbo.OtherTable t2
ON t1.ID = t2.ID
April 8, 2011 at 6:59 am
mvklingeren (4/8/2011)
First column IDENTITY,
Second column, containing the XML string
Would that be the right...
April 8, 2011 at 6:45 am
Viewing 15 posts - 7,771 through 7,785 (of 13,460 total)