Relative Content

Tag Archive for sql-server

CREATE VIEW with sp_executesql Fails

I’m using Tiberius in Rust to execute a SQL command to create a view. The following command works perfectly when I run it directly in SQL Server Management Studio (SSMS), but it fails when executed via sp_executesql in Tiberius.

Login to SQL Server using the Windows credentials

I give you the context: I am trying to login to my SQL Server, but the problem is that I am on my development computer, and I want to login to my server. But I don’t want to install SSMS from my server because it has very few resources, plus I need the Windows user and password to log in.

Login to SQL Server using the windows credential

I give you the context.
I was trying to login to my SQL server, but the problem is that I am on my development computer, and I want to login to my server. But I don’t want to install SSMS from my server because it has very few resources, plus I need the windows user and password to log in.