Viewing 15 posts - 646 through 660 (of 1,109 total)
There is a UDF on http://blog.sqlauthority.com/2007/04/11/sql-server-udf-user-defined-function-to-extract-only-numbers-from-string/
that does this.
Regards,
Andras
November 14, 2007 at 3:43 am
You would need to drop this column, alter the function, add the column again. (I assume that it is not a persisted column, so it should be reasonable fast). If...
November 14, 2007 at 3:40 am
One way of doing this is to create a user defined function that takes such a string (which looks like a house number :)) and returns a similar one but:
1:...
November 14, 2007 at 3:27 am
Ananth (11/14/2007)
November 14, 2007 at 2:47 am
If you want to embed SQL Server Express in your application you can either call sqlexpr.exe or you can build an installer that uses SQL Server Express's setup.exe. There is...
November 14, 2007 at 2:03 am
Sam (11/13/2007)
November 14, 2007 at 1:50 am
After you create a linked server ( sp_addlinkedserver http://msdn2.microsoft.com/en-us/library/ms190479.aspx)you can specify the password and username with sp_addlinkedsrvloginhttp://msdn2.microsoft.com/en-us/library/ms189811.aspx
Regards,
Andras
November 13, 2007 at 7:41 am
Have a look at Red Gate's SQL Data Compare 6 Professional. It has a free trial. Basically it can compare databases, but it can also use database backups as the...
November 13, 2007 at 7:26 am
Have you tried any other commands in xp_cmdshell? Like:
exec xp_cmdshell 'echo a'
what does "exec xp_cmdshell 'echo a'" return to you?
Is the login you are using in the sysadmin role or...
November 13, 2007 at 5:12 am
Hi Sam,
you could use dynamic SQL like:
declare @q varchar(1000)
set @q = 'select 1 as ' + datename(month, getdate())
exec(@q)
Regards,
Andras
November 13, 2007 at 4:27 am
Mark Stewart (11/13/2007)
November 13, 2007 at 4:22 am
Can you execute any other statement remotely? (like "select 1" for example)? This will narrow down your problem, and you will know if it is a connection problem, or a...
November 13, 2007 at 4:17 am
suhailquadri (11/12/2007)
output i got like:
dbo.sp_depends stored procedure no no...
November 12, 2007 at 9:05 am
The two most common solutions for these problems I've seen are either using Service Broker (with a queue where the MAX_QUEUE_READERS is set to 1) or to use a polling...
November 12, 2007 at 8:42 am
Rajesh Patavardhan (11/12/2007)
Did you try sp_depends?
Sp_depends can be used in certain cases, but it is really unreliable. Much depends on the database though. If you build up your objects in...
November 12, 2007 at 8:32 am
Viewing 15 posts - 646 through 660 (of 1,109 total)