Viewing 15 posts - 61 through 75 (of 454 total)
This is interesting, the problem is not with the dynamic sql. The problem is the filegroup name is expecting a character as the starting character.
November 6, 2007 at 8:07 am
Absolutely if you are building a Where condition using a string builder based on multiple column selected then I would say you would need to opt for Dynamic SQL...
November 6, 2007 at 7:34 am
If you want to introduce line feed and carriage return between the lines of address you should go with Goodguy's solution. Else just using ISNULL(column,'') should do it.
November 6, 2007 at 7:01 am
As long as your where condition column is also dynamically changed you would probably be left with no choice than dynamic sql.
November 6, 2007 at 6:28 am
What is cell format for the Value field in Excel. I believe ',' may be your delimiter for 100. You may want use custom formatting in excel before trying to...
November 6, 2007 at 6:24 am
That is interesting. Can you check the SQL Server logs and see if you could find anything that might have caused this. Your input may help others who may get...
November 2, 2007 at 5:29 am
I believe the issue is related to permissions. Please follow the instructions in the below post and see if you can find any success.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=836809&SiteID=1
Thanks
November 1, 2007 at 6:24 am
Please check What does sp_help DocumentsNumbering return you. Also check if there is something wrong with your UDT.
November 1, 2007 at 5:47 am
You need to run the SQL profiler and capture the trace for that application. You need to build your profiler to capture the calls from the application. It may not...
November 1, 2007 at 2:51 am
I could not really test this, so please run it in your qa environment
DECLARE @SQL varchar(2000)
DECLARE @TableNAme varchar(100)
DECLARE @RowCount int
DECLARE @UpdateSQL varchar(2000)
SET NOCOUNT ON
DECLARE csrTables CURSOR FAST_FORWARD LOCAL FOR
select name,...
October 31, 2007 at 12:38 pm
Use this update statement. I did not validate your where condition. But you should be able to remove your P prefix from your account using this.
--SET @UpdateSQL = 'UPDATE '+@TableName+'...
October 31, 2007 at 11:21 am
Hi Stephen, Can you please post your code. It would be really difficult to assume what could go wrong based on your statement. If you could post the code that...
October 31, 2007 at 11:06 am
I completely Concur with Johannes's solution where you just need to use a function that returns all values after applying the comma delimiting logic and insert the same into a...
October 31, 2007 at 8:01 am
Can you get on to Database setup tab and check Credential Type you are using. Basically from your error, it seems that you do not have access previleges to modify...
October 31, 2007 at 7:43 am
Viewing 15 posts - 61 through 75 (of 454 total)