Viewing 15 posts - 301 through 315 (of 366 total)
What about:
SELECT 'a'
UNION
SELECT 'b'
UNION
SELECT 'c'
Regards,
Iulian
February 1, 2011 at 8:10 am
Thanks a lot.
About:
What about this...
exec ( @s1+ ' UNION '+ @s2 )
that is nice, I have not thought about it. Unfortunately...
February 1, 2011 at 8:07 am
Hi, sp_makewebtask is nice but is a a deprecated feature.
The recommendation is to use SSRS. See:
http://msdn.microsoft.com/en-us/library/ms175576%28v=SQL.90%29.aspx
Regards,
Iulian
January 31, 2011 at 4:58 am
There are some possible solutions here: http://www.sqlservercentral.com/Forums/Topic128881-24-1.aspx
MS explains the error here: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q288577
Regards,
Iulian
January 25, 2011 at 4:19 am
You can get a new unique identity with NEWID()
function.
Regards,
Iulian
January 24, 2011 at 7:38 am
With linked server you can build distributed queries.
In case you need to connect to both SQL and Oracle servers and query them from SSMS on a regular basis...
January 24, 2011 at 2:18 am
after you transferred the data once then you can save the package and schedule it every hour, as you like.
Iulian
January 18, 2011 at 12:57 am
Hi,
You can try looking after "SQL Server 2005 Import / Export Wizard" in msdn or google.
Here is an article about it: http://www.databasejournal.com/features/mssql/article.php/3580216/SQL-Server-2005-Import--Export-Wizard.htm
Regards,
Iulian
January 18, 2011 at 12:56 am
You can try this:
SELECT
EmployeeID,
Department,
Branch,
MIN(StartDate) AS StartDate,
MAX(EndDate) AS EndDate
FROM TABLE_NAME
GROUP BY EmployeeID, Department, Branch
Regards,
Iulian
January 13, 2011 at 5:41 am
I missed this one but nice question thanks.
I was thinking that the row can be updated since on insert operation with trigger on it:
first inserts the row into the table,...
January 10, 2011 at 1:19 am
Hi,
You can try this query:
SELECT * FROM
openrowset(
'Microsoft.Jet.OLEDB.4.0'
, 'Excel 8.0;database=PATH\FILE_NAME'
, [SheetName$]
);
there...
January 7, 2011 at 2:22 am
Nice one thanks.
Here is an article on this regard with more details:
Managing the Number of VLFs in your Transaction Log[/url]
Regards,
Iulian
January 7, 2011 at 1:16 am
Viewing 15 posts - 301 through 315 (of 366 total)