Viewing 15 posts - 2,566 through 2,580 (of 7,187 total)
Sean Lange (6/6/2016)
June 6, 2016 at 7:24 am
You can try it for yourself. Set up an extended events session, capturing the lock_acquired event, then run your delete statement. You can then inspect the captured events...
June 6, 2016 at 5:54 am
I think that's about as concise as you're going to get it. As you'll have noticed, string manipulation isn't one of T-SQL's strengths. If you're going to be...
June 3, 2016 at 5:09 am
Good. In that case, sounds like you're using different credentials in the package from those you're using in SSMS, or the connection manager specifies a database that doesn't exist.
Is...
June 3, 2016 at 3:33 am
How are you running the package - interactively in SSDT/Visual Studio, from a SQL Server Agent job, with dtexec, or something else? Can you ping Server B from the...
June 3, 2016 at 2:04 am
Look in the ExecutionLog table in the ReportServer database, and compare the time to run the query with the time to render the report. This will give you an...
June 2, 2016 at 7:46 am
Yes, maybe Named Pipes is configured in a non-default way. Try creating an alias that connects with TCP/IP and specify that as the alias in the properties of SQL...
June 2, 2016 at 3:55 am
What protocols (Named Pipes, TCP/IP etc) is SQL Server configured to use? You can find this out by looking in SQL Server Configuration Manager.
John
June 2, 2016 at 2:49 am
Possibly login failed for the account that runs SQL Server. Does your SQL Server errorlog capture failed logins? If so, have a look and see whether there are...
June 2, 2016 at 2:07 am
Difficult to visualise without any table DDL or sample data, but what you want is a snapshot as at the end of last month and the end of the previous...
June 1, 2016 at 5:06 am
You asked about formatting the output. What you do in your WHERE clause doesn't make any difference to that. But the WHERE clause you posted doesn't contain any...
June 1, 2016 at 3:22 am
sqlnewbie17 (6/1/2016)
I am able to connect
Yes, but only to the first server. Find out why the connection to the second server is failing, and your package will then run...
June 1, 2016 at 2:46 am
I would strongly advise using the database layer to return the data, and the presentation layer to make it look pretty to the user. If you insist on formatting...
June 1, 2016 at 2:37 am
Looks like it's the concatenation part you're struggling with. Work your way through this[/url]. It looks quite daunting, but you should find something there that works for you.
John
May 31, 2016 at 4:21 am
Your query mentions at least one column that you didn't tell us about in your original post. Please will you post DDL in the form of a CREATE TABLE...
May 31, 2016 at 3:23 am
Viewing 15 posts - 2,566 through 2,580 (of 7,187 total)