<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>T-SQL</title><link>http://sqlserver.ro/forums/15/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8863.aspx</link><pubDate>Mon, 18 Jul 2011 07:05:06 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8863</guid><dc:creator>sarateanu_sorin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8863.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8863</wfw:commentRss><description>am gasit rezolvarea ... pt. cei interesati ..accesati link-ul de mai jos:&lt;br /&gt;&lt;br /&gt;http://www.profox.ro/Forum/tabid/55/forumid/24/threadid/36398/scope/posts/Default.aspx&lt;br /&gt;&lt;br /&gt;..concluzia: functioneaza utilizand comenzi native VFP ..&lt;br /&gt;(SQLEXEC)  .. si deocamdata .. nu voi utiliza API-ul SMO ... &lt;br /&gt;&lt;br /&gt;Multumesc tuturor .. consider threat - ul inchis.</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8857.aspx</link><pubDate>Fri, 15 Jul 2011 18:33:32 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8857</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8857.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8857</wfw:commentRss><description>Ai dreptate smo e total managed.Ca sa apelezi prin Com trebuie sa a intai dot net framwork instalat iar apoi sa-ti faci o clasa in dot net care sa fie vizibila ca si un com clientilor unmanged (complicat),modalitatea se cheama com callable wrapper</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8853.aspx</link><pubDate>Wed, 13 Jul 2011 18:07:39 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8853</guid><dc:creator>MrSmersh</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8853.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8853</wfw:commentRss><description>Dar vrei sa creezi o baza de date sau un restore?&lt;br /&gt;Zilele astea nu sint prea ager, dau vina de caldura  &lt;img src="http://sqlserver.ro/emoticons/emotion-1.gif" alt="Smile" /&gt;, si nu m-am  prins</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8851.aspx</link><pubDate>Wed, 13 Jul 2011 08:14:08 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8851</guid><dc:creator>sarateanu_sorin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8851.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8851</wfw:commentRss><description>.. nu reusesc sa apelez SMO prin  com ...&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8850.aspx</link><pubDate>Wed, 13 Jul 2011 08:12:57 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8850</guid><dc:creator>sarateanu_sorin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8850.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8850</wfw:commentRss><description>***** cod VFP 7 ********&lt;br /&gt;obServer=CREATEOBJECT("SQLDMO.SQLServer")&lt;br /&gt;&lt;br /&gt;WITH observer&lt;br /&gt;	.Connect("laptop\prodatasql","sorin","xxxx")&lt;br /&gt;	.ExecuteImmediate("exec [prodata].dbo.restoredatabase 'Test_db'")&lt;br /&gt;	.close&lt;br /&gt;&lt;br /&gt;ENDWITH &lt;br /&gt;&lt;br /&gt;RELEASE obServer&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.. codul de mai sus functioneaza perfect ... numai ca SQL-DMO a fost inlocuit de SQL-SMO ... care este sub dot.net ...  &lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8847.aspx</link><pubDate>Tue, 12 Jul 2011 18:52:50 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8847</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8847.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8847</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Diana:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Foloseste profiler-ul ca sa vezi exact ce TSQL ruleaza aplicatia ta si ce cont se foloseste pentru accesul pe SQL.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;Scuze am vazut ca aplicatia e vpf unmanged.&lt;br /&gt;Vezi daca SMo se poate apela prin COm, poti instantia obiecte com(cocrateinstance) din vpf</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8844.aspx</link><pubDate>Tue, 12 Jul 2011 13:01:13 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8844</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8844.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8844</wfw:commentRss><description>Foloseste profiler-ul ca sa vezi exact ce TSQL ruleaza aplicatia ta si ce cont se foloseste pentru accesul pe SQL.</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8843.aspx</link><pubDate>Tue, 12 Jul 2011 12:50:11 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8843</guid><dc:creator>B_gd_n[ ]Sahlean</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8843.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8843</wfw:commentRss><description>Folosiţi SQL Profiler pentru a vedea care sunt diferenţele între apelul procedurii stocate din SSMS (succes) şi apelul procedurii stocate din VFP (eroare).&lt;br&gt;</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8842.aspx</link><pubDate>Tue, 12 Jul 2011 12:45:52 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8842</guid><dc:creator>sarateanu_sorin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8842.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8842</wfw:commentRss><description>din pacate VFP 7. nu este dot.net  ...&lt;br /&gt;</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8841.aspx</link><pubDate>Tue, 12 Jul 2011 12:42:55 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8841</guid><dc:creator>sarateanu_sorin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8841.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8841</wfw:commentRss><description>BD -ul are Recovery model: "Simple" ...&lt;br /&gt;&lt;br /&gt;..si da .. am testat din acelasi backup ...din SSMS ..si e ok&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8840.aspx</link><pubDate>Tue, 12 Jul 2011 12:04:12 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8840</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8840.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8840</wfw:commentRss><description>Cumva baza ta de date este pe recovery model FULL si asteapta restore si de transaction log? &lt;br /&gt;Ai testat restore din acelasi backup si este OK?</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8839.aspx</link><pubDate>Tue, 12 Jul 2011 11:06:08 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8839</guid><dc:creator>sarateanu_sorin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8839.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8839</wfw:commentRss><description>din ..xp_readerrorlog am gasit ceva de genul: &lt;br /&gt;&lt;br /&gt;"The database 'test_db' is marked RESTORING and is in a state that does not allow recovery to be run."</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8838.aspx</link><pubDate>Tue, 12 Jul 2011 08:25:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8838</guid><dc:creator>sarateanu_sorin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8838.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8838</wfw:commentRss><description>da .. sunt pe acelasi server ..&lt;br /&gt;&lt;br /&gt;nu am verificat .. verific acum</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8837.aspx</link><pubDate>Tue, 12 Jul 2011 07:38:26 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8837</guid><dc:creator>B_gd_n[ ]Sahlean</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8837.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8837</wfw:commentRss><description>1) Cele două teste (din SSMS şi din app. VFP) sunt realizate pe acelaşi server SQL ?&lt;br&gt;&lt;br&gt;2) Vezi dacă log-ul SQL Server-ului conţine informaţii privitoare la operaţiunea de RESTORE:&lt;br&gt;EXEC master..xp_readerrorlog&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>Re: create database programatic</title><link>http://sqlserver.ro/forums/thread/8836.aspx</link><pubDate>Tue, 12 Jul 2011 07:13:25 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8836</guid><dc:creator>sarateanu_sorin</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8836.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=8836</wfw:commentRss><description>string-ul de conectare este:&lt;br /&gt;&lt;br /&gt;"DRIVER={SQL Server Native Client 10.0};SERVER=laptop\prodatasql;DATABASE=prodata;Uid=sorin;Pwd=142400;WSID=LAPTOP;APP=Prodata Erp"&lt;br /&gt;</description></item></channel></rss>