Viewing 15 posts - 361 through 375 (of 583 total)
This gets the results that you want.
DECLARE @Name varchar(100),
@Number int,
@ClassName varchar(100),
@ErrorMessage varchar(2000)
...
August 29, 2011 at 3:01 pm
Check to make sure you have a mail profile enabled in the Alert System properties of SQL agent.
Right-click on SQL Server Agent in SSMS, choose properties, then go to the...
August 29, 2011 at 9:11 am
Unfortunately it wont work.
http://www.sqlservercentral.com/Forums/Topic1079134-391-1.aspx
August 26, 2011 at 8:28 am
Take the * out of you column list. like so:
SELECT IPTU.DimImovel.DimGeograficaID,
Pub.DimGeografica.Geo_CL,
Pub.DimGeografica.Geo_Logradouro,
Pub.DimGeografica.Geo_Bairro,
Pub.DimGeografica.Geo_AreaPlanejamento,
Pub.DimGeografica.Geo_RegiaoAdmin,
Sum (IPTU.FatoLancamentoIPTU.Val_IPTU) AS [val iptu]
FROM Pub.DimGeografica
INNER JOIN IPTU.DimImovel
ON Pub.DimGeografica.DimGeograficaID =
IPTU.DimImovel.DimGeograficaID
INNER JOIN IPTU.FatoLancamentoIPTU
ON IPTU.DimImovel.InscricaoImobiliaria =
IPTU.FatoLancamentoIPTU.InscricaoImobiliaria
GROUP BY IPTU.DimImovel.DimGeograficaID,
Pub.DimGeografica.Geo_CL,
Pub.DimGeografica.Geo_Logradouro,
Pub.DimGeografica.Geo_Bairro,
Pub.DimGeografica.Geo_AreaPlanejamento,
Pub.DimGeografica.Geo_RegiaoAdmin
August 25, 2011 at 12:47 pm
SELECT @@VERSION
This will tell you if instance in on hypervisor.
August 23, 2011 at 8:46 am
Have a look at the sys.sql_modules(http://msdn.microsoft.com/en-us/library/ms175081.aspx) system view. The definition column should have the data you are looking for.
August 17, 2011 at 3:00 pm
Thanks Colleen. I had thought of this and double checked my setup for kerberos which looks ok. If kerberos was not setup properly the linked server would not work with...
August 10, 2011 at 3:11 pm
using "Database Engine Query", either from the button in tool bar or the file menu, will cause the prompt when subsequently opening .sql files. This will only persist for the...
August 9, 2011 at 12:55 pm
I do not know if this will work for you but if you change the datatype of your text_value column in the query to non unicode the correct values are...
July 29, 2011 at 12:38 pm
If you use Style 1 when converting from a character string to a binary value, the input character string should include the 0x prefix; if you use Style 2, it...
July 27, 2011 at 12:05 pm
Check the compatibility level of the database. It worked fine for me until i changed the compatibility level of the database that the function was installed in to sql2000.
July 27, 2011 at 9:57 am
Your set up must be completely different from mine. The shortcut keys for File -> Open -> File are Ctrl-Shift-Insert (not Ctrl-O) on my version of SSMS. And it does...
July 11, 2011 at 8:21 am
not certain but possibly cross apply (http://msdn.microsoft.com/en-us/library/ms175156.aspx) might work.
something like this
INSERT INTO [ToolKit_Prod].[dbo].[MedicalLicense]
([ProviderID]
...
July 8, 2011 at 12:59 pm
Did you check you created databases for any user created objects? even if you did not create any objects manually there may be some in model and thus also in...
July 8, 2011 at 12:53 pm
Doesn't work that way. Database Engine Query creates a new query window. It doesn't allow me to browse my file system for previously saved queries.
For me it does work that...
July 7, 2011 at 8:38 am
Viewing 15 posts - 361 through 375 (of 583 total)