Viewing 15 posts - 1,171 through 1,185 (of 1,219 total)
Run the job as a CmdExec job that runs sqlcmd that directs the output to the desired file. Include SET NOCOUNT ON to get rid of "1 rows affected".
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 2:51 am
So you are physically moving all the machines, not moving SQL Server instances from one machine to another? Assuming that SQL Server databases are on a SAN, are you moving...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 2:46 am
Does this happen repeatedly? That is, if you scratch the table and start over, does it happen again?
I found http://blogs.msdn.com/b/sqlserverfaq/archive/2009/11/04/s.aspx although that article is not entirely easy to understand. But...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 2:43 am
As long as you don't have more then four fields, you can use parsename, although this function is specifically intended to parse object names in SQL Server and only accepts...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 2:32 am
You can see when a login was created in the catalog view sys.server_principals.
The default trace records events like creating or dropping a login, but keep in mind this information is...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 2:24 am
Filipe (7/10/2013)
I thought that SQL would check for the schema with the same user name, and if that was not available would always default to DBO.
So this is not entirely...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 2:12 am
I would device the import process so that the columns are always there, but if they are not in the spreadsheet they would be NULL.
A table is supposed to model...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 4:19 pm
I've done this with PowerDesigner, but PD is not exactly cheap.
There is a diagram feature in SSMS, altough it's much to get excited over.
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 2:27 pm
It helps if you give the context. What do you try to do? Do you need the distributed transaction?
Also, are the two servers in the same domain? In a workgroup?...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 2:26 pm
Are there other applicaitons running on the server? Else I see little reason to see Max Server Memory to 2GB when you have 4GB in the machine. Set it to...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 2:22 pm
deepkt (7/10/2013)
I understood your point, If possible could you share logic using TVP .
I have already given it. When the user is done with the grid, populate the sorter column...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 8:09 am
deepkt (7/10/2013)
Does there any possibility of fine tuning of my procedure to accommodate my requirement, I am stuck with the code.Please help..
We are helping. You are refusing to be helped....
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 6:12 am
deepkt (7/10/2013)
In UI I am binding data to a grid.. all the logic will be processed using stored proc and from back end.
In UI user will modify...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 5:33 am
Your function returns 1 if any of the columns exists in the table, not if all columns exists in the table.
But it is not going to work out anyway. If...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 4:07 am
Change your stored procedure to work with input in a table-valued parameter which holds the new sort order for all values. Or at least all values for which the sort...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 10, 2013 at 4:01 am
Viewing 15 posts - 1,171 through 1,185 (of 1,219 total)